Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need Help in Identifying an Object
#1
Not Solved
I'm experiencing a weird thing.
In my application if I select a value(Download Document) for a field, an URL text field will be displayed requesting for a path to download. If I leave this URL field blank and click on Select button an error message pop’s up saying the URL field cannot be blank.

The above scenario is working fine when we do it manually.
But when I automate the above scenario the value(Download Document) gets selected and the error message does not pop up.

The script looks like this:
Code:
Browser("name:=Text Format.*").Page("title:=Text Format.*").Image("file name:=s.gif").Click
Browser("name:=Text Format.*").Page("title:=Text Format.*").WebElement("innertext:=Download Document","class:=x-combo-list-item.*").Click
Browser("name:=Text Format.*").Page("title:=Text Format.*").WebEdit("name:=url_label","class:=reportField").Set ""
Browser("name:=Text Format.*").Page("title:=Text Format.*").WebButton("name:=Select").Click

I also tried by using the WScript
Code:
Set oObject=CreateObject("Wscript.Shell")
Browser(AddItemsBrowser). oObject.SendKeys "{DOWN}"

Please help me…

Thanks,
Ritesh
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  not identifying the object properties seven 3 2,607 02-18-2014, 04:23 PM
Last Post: supputuri
  Problem in identifying the object Paras Singh 3 3,106 04-22-2013, 07:43 AM
Last Post: ravi.gajul

Forum Jump:


Users browsing this thread: 1 Guest(s)