Share
Go down
tirusel
Posts : 1
Join date : 2012-06-12

unable to find dynamic frame ids

on Tue Jun 12, 2012 5:59 pm
if the id of a frame dynamically changes ,what is the standard procedure to catch the frame id
Sourav
Active particpant
Active particpant
Posts : 17
Join date : 2012-06-28

Re: unable to find dynamic frame ids

on Thu Jun 28, 2012 6:00 pm
If position of the frame remains same, you can use Xpath to capture the frame and get id property
venugopald
Active particpant
Active particpant
Posts : 10
Join date : 2012-06-11

use xpath instead of id

on Tue Jul 03, 2012 2:28 pm
take xpath of that frame, create web element for that xpath in pagefactory model now
in driver.switchto.frame("")
with in the double quotes give xpath web element
ramit1112
Posts : 1
Join date : 2012-07-31

Re: unable to find dynamic frame ids

on Tue Jul 31, 2012 7:43 pm
u can use the following syntx:

xpath=//input[contains(@id,'yourElementname')]

ex.
xpath=//input[contains(@id,'rediobutton')]
Sponsored content

Re: unable to find dynamic frame ids

Back to top
Permissions in this forum:
You cannot reply to topics in this forum