Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Testscript
#1
i am beginner in the QTP, i work now with QTP UFT 11.52. i have this problem. all my Object in Testscript are generate with the same name.and i dont know why.

*********
Code:
Browser("Browser").WinObject("Chrome_WidgetWin_1").Drop 1919,413 Browser("Browser").WinObject("Chrome_WidgetWin_1").Click 853,618 Browser("Browser").WinObject("Chrome_WidgetWin_1").Click 1031,442 Browser("Browser").WinObject("Chrome_WidgetWin_1").Type "Barcelona" Browser("Browser").WinObject("Chrome_WidgetWin_1").Click 1044,462 Browser("Browser").WinObject("Chrome_WidgetWin_1").Click 1115,467 Browser("Browser").WinObject("Chrome_WidgetWin_1").Click 1244,635 Browser("Browser").WinObject("Chrome_WidgetWin_1").Click 1230,463 Browser("Browser").WinObject("Chrome_WidgetWin_1").Type "12:00" Browser("Browser").WinObject("Chrome_WidgetWin_1").Click 1116,485 Window("Window").Click 42,53 Browser("Browser").WinObject("Chrome_WidgetWin_1").Click 1112,489 Window("Window").Click 47,34 Browser("Browser").WinObject("Chrome_WidgetWin_1").Click 1234,535

******************

thank you for your Hepl
Reply
#2
It will be like that only. This is the hierarchy of your component which you want to access.
Reply
#3
All these not not different objects, same object is being again and again. You can check it in object reporsitory
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to call testscript after executing previous one. upadhyay40 3 4,423 04-27-2014, 10:14 PM
Last Post: Wigi

Forum Jump:


Users browsing this thread: 1 Guest(s)