Forum Discussion

shiva_ranabhat's avatar
shiva_ranabhat
Contributor
10 years ago

Using Wildcard in property checkpoint

Hi, 

 

I want to verify if a panel contains string. 

 

Spoiler
aqObject.CheckProperty(page.panelWorkHistoryNotesContent, "contentText", cmpContains, "*", false);

"*" instead of "Workhistory Notes".

 

So, if the application is in different language, I wouldn't have to parameterise all those checkpoints values. All I need to check if the grid contains something. 

 

Thanks in advance,

Shiva