how to use getText method using keyword test
I am new to this community and also for TestComplete. I have experience with selenium. Currently I am trying to test a scenario where there is a record and clicking on that record opens a frame with details for that record. So I need to compare the details. For that I need to get the name in the record on first step where I click and then validate the frame to verify that details belong to that name in my following step. To do that I am looking how to use getText of that object and save it in a variable. I am looking for Keyword test mode steps.
Please let me know how to resolve this
Solved! Go to Solution.
You can use Set Variable Value, then choose Object Property, then Onscreen Object. The wizard will walk you through picking the property you want and it will be stored in your chosen variable.
[Community Heroes] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Heroes]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Hero] signature is used with permission by SmartBear Software.