Forum Discussion
Hi Bill_H
I hope you are keeping well.
We have the following short video which outlines the steps involved to obtain the value (ID) from the screen and store that value against a variable which you could then re-use later in your test.
Here is a link to the video; https://support.smartbear.com/testcomplete/videos/how-to-get-a-value-from-on-screen-and-store-it-for/
We have the following documentation on this process; https://support.smartbear.com/testcomplete/docs/keyword-testing/reference/statements/set-variable-value.html
Please let me know if this resolves your query or if you have any additional questions.
Thanks,
Shane
Hi Shane,
Thank you for this information. I tried this however, it didn't resolve my query - I think my query was not specific enough ( I didn't realize) but I am trying to get a value from a cell in a Grid/table. This method of Onscreen Object selects the whole grid.
Any other information would be appreciated.
Thanks,
Bill
What versions of TestComplete and .Net are you using?
Are you able to use Object Spy to see one cell in your grid?
Hi Marsha,
I am using 15.41.9.7 32 bit .... .Net v1.1.4322.
Using the object spy I only get the complete grid.
On this reference page, I see that .Net support starts with v2.0
https://support.smartbear.com/testcomplete/docs/app-testing/desktop/net/supported-technologies.html
I suggest checking with Support at this link to see if they have a workaround