Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem in identifying the object
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Hi Paras,
it fails because "(", ")" , "." has got special meaning..hence it is handled through escape sequence "\" to consider their literal meaning.however this fails when the number changes.To handle that use regular expression.
Code:
x = Browser("name:=Inbox \(2,397\) - paras\.sidhu@gmail\.com - Gmail#inbox").GetROProperty("name")
msgbox x
or
Code:
msgbox Browser("CreationTime:=0").GetROProperty("name")
Reply


Messages In This Thread
RE: Problem in identifying the object - by ravi.gajul - 04-21-2013, 03:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  HAVING PROBLEM IN CREATING OBJECT OF TEST BATCH RUNNER mayankchauhan 0 3,431 04-04-2014, 05:29 PM
Last Post: mayankchauhan
  not identifying the object properties seven 3 2,736 02-18-2014, 04:23 PM
Last Post: supputuri
  Runtime Object Identification Problem qapandit 9 6,289 07-02-2013, 04:14 AM
Last Post: qapandit
  Problem while adding description of an object using a varibale shibinp 2 3,419 08-25-2011, 10:51 AM
Last Post: shibinp
  Need Help in Identifying an Object ritesh 0 1,783 05-20-2010, 01:39 PM
Last Post: ritesh

Forum Jump:


Users browsing this thread: 1 Guest(s)