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
#2
Not Solved
can you check if you have all the basic addins properly added?
can you attach a spyshot of the control?

Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)