in Testing by
Q:
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 Jan 30, 2020 in Selenium by Deepanshu Burreja
0 votes
asked Apr 3, 2020 in Data Handling by rajeshsharma
...