Test item parameters manipulation
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2010
10:47 PM
05-22-2010
10:47 PM
Test item parameters manipulation
Hi
I have the keyword test item. It accept two parameters ItemName and SubItemName. Inside the test i call some other test items and at the end check the system status by calling my system routine to finding "sub item" by SubItemName. The problem is that i had to use wildcards to find the "sub item" (if SubItemName = "aaa" than i should search for "*aaa*"). Please advise me how can i modify SubItemName (or create modified value) test item parameter when calling other test item.
I have the keyword test item. It accept two parameters ItemName and SubItemName. Inside the test i call some other test items and at the end check the system status by calling my system routine to finding "sub item" by SubItemName. The problem is that i had to use wildcards to find the "sub item" (if SubItemName = "aaa" than i should search for "*aaa*"). Please advise me how can i modify SubItemName (or create modified value) test item parameter when calling other test item.
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2010
07:55 AM
05-23-2010
07:55 AM
All clear there is solution:
In edit Mode select "Code Expression"
in Value type "*" + KeywordTests.MyTestItem.Parameters.MyParameterName + "*"
In edit Mode select "Code Expression"
in Value type "*" + KeywordTests.MyTestItem.Parameters.MyParameterName + "*"
