02-28-2013, 04:22 PM
(This post was last modified: 02-28-2013, 04:29 PM by shwetasharma.)
Hi All,
A very stange thing is happinig when i m tring to use dynamic code in my project
Here is my code
i want to check whether this link exists or not
It says object does not exist
when i m using repository for this its working fine in following case
can anyone suggest whats wrong?
One more point the following code works fine in the same script
A very stange thing is happinig when i m tring to use dynamic code in my project
Here is my code
i want to check whether this link exists or not
Code:
browser("name:=.*").page("title:=.*").Link("html tag:=A","text:=+(91)-22-67732000","class:=ctc f13").exist
It says object does not exist
when i m using repository for this its working fine in following case
Code:
browser("xyz").page("xyz").Link("+(91)-22-67732000").exist
can anyone suggest whats wrong?
One more point the following code works fine in the same script
Code:
browser("name:=.*").page("title:=.*").WebElement("html tag:=A","class:=jdv","index:=0").Exist