0 votes
in Testing by
Which technique should be considered in the script “if there is neither frame id nor frame name”?

1 Answer

0 votes
by
If frame name and frame id is not available, then we can use frame by index. For example, there are 3 frames in a web page and if none of them have a frame name and frame id, then we can still select those frames by using frame (zero-based) index attribute. All the frame will have an index number like the first frame would be at index “0”, the second at index “1” and the third at index “2”.

Related questions

0 votes
asked May 26, 2019 in Testing by rajeshsharma
0 votes
asked Mar 28, 2021 in Testing by rajeshsharma
...