Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issues with Browser Name which has Pipe Symbol (|)
#9
Not Solved
scenario is that, I have a home button. I need to click this buton on page1 first and page 2 second.

Now when I object spy on first page I see page title prop is diff.
same thig happens for page also.

Hence I used regular expression as I didnt wanted to add those objects in Object repository.

Code:
If Browser("name:=Mobile.*","Creationtime:=0").Page("tilte:=Mobile.*").Link(Obj_Mobiles).Exist(2)   then
        Browser("name:=Mobile.*","Creationtime:=0").Page("tilte:=Mobile.*").Link(Obj_Mobiles).Click

This also didnt work. Please note I have used descriptive programming for Obj_Mobiles
Reply


Messages In This Thread

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad If/then Statement issues Carver2469 2 3,714 11-03-2015, 03:44 PM
Last Post: vinod123

Forum Jump:


Users browsing this thread: 1 Guest(s)