Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help with finding a page using DP
#1
Not Solved
Can someone help me with my syntax of the following If statement

Code:
If Browser("title:="&Preference(.*),"Type:="&"CreationTime","Value:=1" ).Page("title:=Preferences(.*)","index:=0").WebElement("name:=close_window2").Exist Then

thx ;-)
Reply
#2
Not Solved
Hi MV,

hope this will help for u, try this

Code:
If Browser("title:=Preference(.*)","Type:="&CreationTime,"Value:=1" ).Page("title:=Preferences(.*)","index:=0").WebElement("name:=close_window2").Exist then


Thanks & Regards,
G@veyom
Reply
#3
Not Solved
Thx G,

I need to use:
Code:
If Browser("title:=Preference(.*)","CreationTime:=1" ).Page("title:=Preferences(.*)","index:=0").WebElement("name:=close_window2").Exist then

tadaaaa

But after all of my digging I finally found out why my Browser("Preferences").Page("Preferences") was not working, lol, here it comes; My Local OR had a duplicate Browser("Preferences").Page("Preferences") ... which was different than in my own IA.tsr file. Thus the Local OR was being used while I was changing my IA or.

Arggggggghhhhhhh!

I ussually flush/delete/etc my local OR, my bad.

lol

thx everyone.

Lor
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Finding a cell Location on a datatable rhozeski 0 1,956 11-23-2014, 02:38 AM
Last Post: rhozeski
MyBB request for VB code for finding X in dynamic web table davidsmi@bossig.com 2 2,926 04-16-2011, 06:40 AM
Last Post: davidsmi@bossig.com
  Finding specific text in a text string janriis 3 5,181 10-08-2010, 04:00 PM
Last Post: KavitaPriyaCR

Forum Jump:


Users browsing this thread: 1 Guest(s)