Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object does not exists
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
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

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
Reply


Messages In This Thread
Object does not exists - by shwetasharma - 02-28-2013, 04:22 PM
RE: Object does not exists - by pradeep singh - 02-28-2013, 04:42 PM
RE: Object does not exists - by shwetasharma - 02-28-2013, 05:37 PM
RE: Object does not exists - by pradeep singh - 02-28-2013, 05:49 PM
RE: Object does not exists - by shwetasharma - 03-01-2013, 01:05 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Report Viewer showing hundreds of WebElement.Exists? themoon 1 2,232 03-09-2016, 02:43 PM
Last Post: vinod123
  How to check whether data exists in excel.. venkatesh9032 1 2,931 03-06-2014, 04:37 PM
Last Post: supputuri
  Verifying the value exists and if not, wait up to 5min HeZma 3 3,874 02-25-2012, 12:21 PM
Last Post: rajpes
  How to prove if an object exists? lucster 3 4,678 07-07-2011, 10:24 PM
Last Post: rajpes
  Object not found in object repository Even it exists There Rohit 4 11,840 03-21-2011, 07:04 PM
Last Post: Rohit

Forum Jump:


Users browsing this thread: 1 Guest(s)