Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
not getting proper code
#1
Not Solved
I am preparing a script for the below process:
1. Log in tothe application
2. click twice "add files"
3. A window pops-up to show the location of the file.
4. select the file and done.

When I do step 2, I get the below code:
Code:
Browser("Document").Page("Document_2").Frame("Frame").WinObject("Control").Click 47,235

Browser("Document").Page("Document_2").Frame("Frame").WinObject("Canvas").Click 45,233

And for the step 3:
Code:
Browser("Document").Window("Select Files").Click 153,123

I couldnt understand why I get the coordinate number though I havent changed the recording mode?

In step 4, I have selected a file from desktop named "Sample". but I couldnt see a code that shows the file "Sample". I just got the above code
Code:
(Browser("Document").Window("Select Files").Click 153,123))
Can any body explain?

Thanks.
Reply


Messages In This Thread
not getting proper code - by qtpguru - 11-10-2009, 03:51 AM
RE: not getting proper code - by Saket - 11-10-2009, 10:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Proper Use Of QTP farhanalam 3 3,244 03-25-2009, 11:52 PM
Last Post: Ankur

Forum Jump:


Users browsing this thread: 1 Guest(s)