Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Object Reposoitory and Dialog boxes
#4
Not Solved
Try with the following things:

1. Remove coornidates whereever you find in your script. Like i can see the following line your script:
Dialog("File Download_3").Dialog("Save As").Dialog("Save As").Click 229,33 ' insted of this you should right
Dialog("File Download_3").Dialog("Save As").Dialog("Save As").Click

2. Provide sync/wait points whenever required

3. Your OR is having redundency of objects. you can try DP like
Dialog("nativeclass:=#32770")
whenever you find dialog box you can replace that with above one.
Winbutton("text:=&Yes")
replace winbutton with the above one
that means Dialog("File Download_3").Dialog("Save As").WinButton("Yes").Click could be written:
dialog("nativeclass:=#32770").dialog("nativeclass:=#32770").Winbutton("text:=&Yes").Click
4. You can use object spy feature of QTP to know the object properties and object hierarchy level.





Reply


Messages In This Thread
Object Reposoitory and Dialog boxes - by mv8167 - 05-04-2011, 09:20 PM
RE: Object Reposoitory and Dialog boxes - by Jay - 05-05-2011, 10:55 AM
RE: Object Reposoitory and Dialog boxes - by Jay - 05-06-2011, 12:05 PM
RE: Object Reposoitory and Dialog boxes - by Jay - 05-09-2011, 01:33 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Dialog boxes in Firefox 13+ skywalker89 1 3,530 08-28-2012, 09:48 AM
Last Post: souvikghosh_diatm
  Need a function or Suggession on UnExpected Dialog Boxes swaruptkumar 0 1,859 02-09-2010, 09:10 PM
Last Post: swaruptkumar
  IE Dialog Box, Print XeNoMoRpH 2 4,232 06-30-2009, 05:50 PM
Last Post: XeNoMoRpH
  Selecting Check boxes by Descriptive Programming sunny rao 3 10,491 01-08-2009, 07:12 PM
Last Post: sunny rao

Forum Jump:


Users browsing this thread: 1 Guest(s)