How to add variables to object value ?

I would appreciate if anybody can come up with a solution for the following scenario:

  1. 1) User creates a unique transaction
  2. 2) We store the transaction 'Date/Time' as a variable
  3. 3) Go to the list of transactions
  4. 4) Need to find this particular transaction out of many by using the text() attribute Something like: //div[@class='cx-item-md-3' and contains(text(),'${CheckInTimestamp}')]In our current tool we store the time-stamp as a variable CheckInTimestamp and then try to find and open a transaction containing the same time-stamp.Thanks!

Comments

  • Hi, you probably haven't set default alias for WebUIBuiltInKeywords class. Try to add this line:

    import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

    Or use full class name for static click method:

    WebUiBuiltInKeywords.click(lnk_EditEvent)

    Thanks.
Sign In or Register to comment.