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
#2
Not Solved
what is the error you get there?

Reply
#3
Not Solved
no error shows up. It hangs there for a whie and then go to the next iteration and the report event shows"
Reply
#4
Not Solved
what is in the result? can you paste a snapshot?

Reply


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

Forum Jump:


Users browsing this thread: 1 Guest(s)