Forum Discussion

TC_UserP's avatar
TC_UserP
Contributor
6 years ago

Use of If else statement for a object clicked

Hello,

  I had a main reusable keyword script , which opened a wizard and then there was a dropdown for me to select options, but now the dropdown is no more and it is a "tree" to select options.

In my script I had used if  else statement where, it had conditions to navigate to certain pages based on what you select in the dropdown . But now because it is a tree I just have to click on the object and then work , my question is what kind of condition can i give for a click in if else statement.

 

I have attached the before and after changes. Please help me with your suggestions.

Let me know if something is not very clear.

  • To be more clear, I had made a parameter "import type" for the downdown combo. And given a if condition. But now i just have to click on the tree and have no condition. What can i do in this case.