Setting Project Variable at Test Time...
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2014
03:55 AM
06-11-2014
03:55 AM
Setting Project Variable at Test Time...
...and comparing the test variable to screen elements.
Need help with the following:
1. Create the Variable (this is created from the nameStr of an image on the screen)
2. Compare the variable to the nameStr of other images in the website (that are meant to adopt the namestr of the parent specified in 1.)
Thanks!
Need help with the following:
1. Create the Variable (this is created from the nameStr of an image on the screen)
2. Compare the variable to the nameStr of other images in the website (that are meant to adopt the namestr of the parent specified in 1.)
Thanks!
The Force Is Strong With This One.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-11-2014
05:52 AM
06-11-2014
05:52 AM
Note sure what you want to do. If you are talking about creating a new project variable on the fly then do this.
Project.Variables.AddVariable()
or
ProjectSuite.Variables.AddVariable()
Then compare your project variable to another
if (Project.Variable.varName = anotherVar){
//do something
}
Project.Variables.AddVariable()
or
ProjectSuite.Variables.AddVariable()
Then compare your project variable to another
if (Project.Variable.varName = anotherVar){
//do something
}
