Ask a Question

How to I get the value of an element and set it to a variable?

halovski
Occasional Contributor

How to I get the value of an element and set it to a variable?

Capture8.PNG

I'm trying to get the coordinates of a cell from the image below and set them in a variable or parameter. How do I view/use the value of cellIndex[get] after the keyword test completes? 

Capture6.PNG

1 REPLY 1
rraghvani
Champion Level 2

If this is your first time using TestComplete, it might be worth reading through Tutorials and Samples as well as Testing With TestComplete.

 

It will be in the form of,

var index = Aliases.name.of.your.object.cellIndex

 

 

cancel
Showing results for 
Search instead for 
Did you mean: