Ask a Question

Are there tutorials on how the If Then operation works in keyword tests

SOLVED
tnguyen1
Occasional Contributor

Are there tutorials on how the If Then operation works in keyword tests

Hi,

 

I'm fairly new with TestComplete and would like to see an example of how the If Then operation works.  The support article did not help with what I'm trying to do.  I can't find videos on this topic either so I'm guessing there isn't one.

 

What I'm trying to accomplish is this:

 

If there is a pop up message, then run the child operation. Else, move to the next operation.  I've attached an image of my keyword test.

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
cunderw
Community Hero

Re: Are there tutorials on how the If Then operation works in keyword tests

Try an If Object Statement from the test actions category.

If Object Popup Exists

  Do thing. 

 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped

View solution in original post

2 REPLIES 2
cunderw
Community Hero

Re: Are there tutorials on how the If Then operation works in keyword tests

Try an If Object Statement from the test actions category.

If Object Popup Exists

  Do thing. 

 


Thanks,
Carson

Click the Accept as Solution button if my answer has helped

View solution in original post

tnguyen1
Occasional Contributor

Re: Are there tutorials on how the If Then operation works in keyword tests

Thanks!  I got it figured out now, I was missing the 'Exists' function at the end of my value.

cancel
Showing results for 
Search instead for 
Did you mean: