Appian UI automation

122 views Asked by At

I am try to integrate the karate with #Appian low code platform application UI, facing some issue

  1. failed to pass the dynamic data (except hard codded data)
  2. failed to automate editable grid
  3. failed to automate some UI component available only in Appian

Can any one give the solution to pass the data dynamically in ui automation

2

There are 2 answers

0
Manasa G On BEST ANSWER

respond to failed to pass the dynamic data (except hard codded data) you can try this, it worked for me
data.json { "username" : "ABC", "password": "ABC@123" }

Feature file:

  • def data= read('data.json')
  • def username = data.username
  • def password = data.password

And input('input[name=un]', username)

And input('input[name=pw]', password)

1
satheesh On

I found one solution We can pass our information like Scenario Outline and Examples format What we do as formal cucumber command
@tags1 Scenario Outline: Login with demo Given driver "https://www.saucedemo.com/" And input("//[@id='user-name']","") And input("//[@id='password']","") And click("//*[@id='login-button']") Examples: |username|pass| |standard_user|secret_sauce| |locked_out_user|secret_sauce|