Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to validate Tab names and child tab names in QTP
#3
Solved: 11 Years, 4 Months ago
Hi PrabhatN, thanks for your great reply and i am new to QTP, as per your reply how to get value of the "selection". If you dont mind can you please explain in details.

I am providing script to you for better understanding. I am trying GetProperty with different values as given below. Please correct me if i am doing wrong?

Code:
SwfWindow("Lilly Science Grid").SwfTab("LSB_OCT_Workspace").Select "Summary"   // Focus

sumTabName = SwfWindow("Lilly Science Grid").SwfTab("LSB_OCT_Workspace").GetROProperty("name")  
msgbox sumTabName   -- i am getting output like that this name :"LSB_OCT_Workspace"

sumTabName1 = SwfWindow("Lilly Science Grid").SwfTab("LSB_OCT_Workspace").GetROProperty("value")
msgbox sumTabName2   -- i am getting output like blank message box.

sumTabName2 = SwfWindow("Lilly Science Grid").SwfTab("LSB_OCT_Workspace").GetROProperty("text")
msgbox sumTabName1   -- i am getting output like blank message box.
Chandra Sekhar
Reply


Messages In This Thread
RE: How to validate Tab names and child tab names in QTP - by iamsekhar - 08-02-2010, 11:08 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  UFT issues with Outsystems dynamically generated Id/names jherron 2 1,346 03-02-2020, 09:33 PM
Last Post: Swishy70
  SwfTreeview - Color validation for child item YogeshCallappa 0 2,290 11-10-2016, 04:55 PM
Last Post: YogeshCallappa
  Driver Script to control child scripts sumanhyd 1 3,182 07-26-2016, 07:06 PM
Last Post: Ankesh
  How to validate mandatory filed (*) in web application using balak89 1 4,114 09-13-2015, 12:54 AM
Last Post: ADITI1992
  UFT 12.50 unable to recognize child objects from a Dialog Class in Firefox jesusisaac 1 3,803 08-20-2015, 11:39 PM
Last Post: ADITI1992

Forum Jump:


Users browsing this thread: 1 Guest(s)