martin_facchini
10 years agoContributor
"If Object Exists" is still running child opeations when object DOES NOT exits
I’m checking to see if our application was left in an open state before running the entire project suite. The test app, 95% of the time, would be left open in one of three main forms: login screen, t...
- 10 years ago
You can use the If Object wizard under Test Actions for your keyword test. It should then have the Visible property available to select from on the Select Condition page of the wizard. If you're not using keyword tests then your script should be like so:
//JScript
function main() {
if (Aliases.PixelPointPOS.wndSystemObject.FormShape_InnerPanel.Panel.PixelButton.Visible == true){
//dostuff
}
}//Make sure you spell it VISIBLE :)