Hi ,
I am using Test Advantage 9.2CLR2.0 with QTP 11.0
SwfTreeView("Reporting").GetItem(0) is not giving us the correct node names, actually it worked fine in the past.
What is GetItem returning and how is it incorrect? Have you verified with your developers that the application hasn't changed? What changed between when it worked and when it didn't?
Let me know if you have any questions with this matter.
will check with the development regarding application changes and get back to you. mean while look into the issue .
Thanks
Mamatha
Mamatha,
It is possible that GetItem would return a node that isn't visible though it should not be returning a node other than the first node. If this is happening I need a sample that shows the issue that I can use for debugging.
Hi Alan, exactly it is returning the node which is not visible in the Tree View, in some cases it is returning the first sub node in the second Treeview
Ex: There is a tab in which i have a treeview control
XYZ is the main treeview in which i have child nodes, sub treeviews(sub treeviews have sub child nodes)
I am using GetItem(0) method to to get the name of the main treeview i.e XYZ
is there any method to get the only visible nodes in the TreeView.
Thanks,
While there isn't a specific method to get only the visible nodes you could use GetNAProperty to get the Visible property and if it is visible get the Text of the node. You could use GetNAProperty with the following:var visible = SwfTreeView("treeid").GetNAProperty("Nodes[0].Visible")var text = SwfTreeView("treeid").GetNAProperty("Nodes[0].Text")
Note that you will still need to add the conditional logic and a loop to get the correct node.
I have also logged product idea PI12090128 to have an option for the GetItem method to have it limit the nodes to the visible nods. I have sent your product idea directly to our product management team. Our product team chooses new product ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
What are the requisites to automate Infragistics control embedded in silverlight application, using QTP?
I couldn't create a new post.Hence, posting my question here.. Can someone please provide me the details..
Hi Deepa,
Currently we do not have a product available for automated testing of Silverlight applications in QTP similar to our TestAdvantage offering. As such I have logged a new product idea for this and sent it directly to our product management team. Our product team chooses new product ideas for development based on popular feedback from our customer base. Infragistics continues to monitor application development for all of our products, so as trends appear in requested features, we can plan accordingly.
We value your input, and our philosophy is to enhance our toolset based on customer feedback. If your feature is chosen for development, you will be notified at that time. Your reference number for this product idea is PI12090168.
If you would like to follow up on your product idea at a later point, you may contact Developer Support management via email. Please include the reference number of your product idea in the subject and body of your email message. You can reach Developer Support management through the following email address: dsmanager@infragistics.com