01-22-2010, 10:09 PM
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
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
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"
ANy idea how to make it work or any other way to recognize the object??
THanks,
Kavitha