Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Able to Identify TreeView Objects
#1
Not Solved
Sorry Guys,
I could not find how to open a new thread, hence put my Q in some other thread.
THanks Saketh.
Here is my problem,
I am trying to automate the windows app. using .NET and the screen has the tree view. I am just trying to click on a link and verifying the form with the label of that page.

QTP cannot recognize the Label for that form that has treeview

Code:
If SwfWindow("Name:=Form1").SwfObject("Name:=panel1").SwfObject("Name:=MainControl").SwfObject("Name:=oWorkBoxPanel").SwfObject("Name:=" & Datatable.Value ("ObjectName",dtGlobalSheet)).SwfLabel("Name:=" & Datatable.Value ("LabelName",dtGlobalSheet)).Exist(2)
then
reporter.ReportEvent micPass, "Links", "Click Link Passed"
The script is working for all other forms except the one with the tree view.
ANy idea how to make it work or any other way to recognize the object??

THanks,
Kavitha
Reply


Messages In This Thread
Not Able to Identify TreeView Objects - by kavithatib - 01-22-2010, 10:09 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP 11.5 doesn't identify swf objects arpan 2 2,845 01-07-2014, 12:44 AM
Last Post: arpan
  Using XPATH and DP to identify objects on a webpage jeasy02 0 3,139 10-07-2011, 07:25 PM
Last Post: jeasy02
  DP -How to identify dynmaic objects om.vikas 1 1,927 09-21-2009, 12:40 AM
Last Post: varsha

Forum Jump:


Users browsing this thread: 1 Guest(s)