validate wValue against Project Variable in UltraGrid
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
validate wValue against Project Variable in UltraGrid
Hi there,
I have an UltraGrid with one row, I want to make sure a column in that row is the JobNumber I created earlier on and is stored as a Project Variable.
I have the Property Checkpoint setup as wValue(0,2) equals Project.Variable.JobNum but it want's an explicit value (which I don't know before the test, hence variable)
how can I get this to work?
Checkpoint Setup:
Error:
I'm having one of those days, I'm sure this is an easy one for the gurus!
Solved! Go to Solution.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I don't see a way to select a variable in that field. Easy enough to build your own check:
https://support.smartbear.com/testcomplete/docs/testing-with/checkpoints/property/properties.html
Marsha_R
[Community Hero]
____
[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.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I did say it was one of those days, so previously I've done everything in script form, for this project I'm doing Keyword tests/recordings and so my options were not as obvious (to me)
the compare properties option works just great for this. And I think that article is what I was trying to find, but clearly my search criteria wasn't up to scratch!
Thank you!
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I do a mixed batch of tests too. In keywords, you can use Run Code Snippet or Run Script Routine to sneak some code in there if you need it.
Marsha_R
[Community Hero]
____
[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.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
