Skip to content

NLP Command List

gcvfi edited this page Dec 21, 2019 · 3 revisions

Back to AIQ Commands | Home


Note: Draft content, work in progress, not yet reviewed or verified.


Sample Commands

  1. _var{[excel formula]} as [var_name]
  2. _xl{[excel formula]} as [var_name]
  3. [Action] and save it as [var_name]
  4. Assert [text] is visible on the page
  5. Assert image of "text", "text" is on the page
  6. Begin block [block_name]
  7. Begin script _bash with ${input_var}
  8. Begin script _js with ${input_var}
  9. Begin script _py with ${input_var}
 10. Choose _css("[selector]")
 11. Choose [text]
 12. Choose _xpath{"[address]"}
 13. Click _css("[selector]")
 14. Click {xpath: "[address]"}
 15. Click on radio next to [text]
 16. Click on [exact attribute value]
 17. Create random variable [var_name]
 18. End block
 19. End script save as ${output_var_name}
 20. Enter text in _css("[selector]")
 21. Enter text in [text]
 22. Enter text in _xpath{"[address]"}
 23. Exec _js{[script]} with ${input_var} returning ${output_var}
 24. Exec _py{[script]} with ${input_var} returning ${output_var}
 25. Exec _sh{[script]} with ${input_var} returning ${output_var}
 26. Exec "[artifact file]" with ${input_var} returning ${output_var}
 27. Fill in text in _css("[selector]")
 28. Fill in text in [text]
 29. Fill in text in {xpath: "[address]"}
 30. Go to website
 31. Hover on _css("[selector]")
 32. Hover on [text]
 33. Hover on {xpath: "[address]"}
 34. Hover over _css("[selector]")
 35. Hover over [text]
 36. Hover over _xpath{"[address]"}
 37. Launch website
 38. Market:
 39. Navigate website
 40. Open website
 41. Press _css("[selector]")
 42. Press _xpath{"[address]"}
 43. Press on radio next to [text]
 44. Run ${flow name} for [number] times
 45. Run ${flow name} for all rows
 46. Save _css("[selector]") as [var_name]
 47. Save {xpath: "[address]"} as [var_name]
 48. Select _css("[selector]")
 49. Select [text]
 50. Select {xpath: "[address]"}
 51. Set screen/window size - [width] * [height]
 52. Set text in _css("[selector]")
 53. Set text in [text]
 54. Set text in _xpath{"[address]"}
 55. Switch to 2nd tab
 56. Switch to 2nd window
 57. Switch to 3rd tab
 58. Switch to 3rd window
 59. Switch to alert and click on accept
 60. Switch to alert and click on cancel
 61. Switch to alert and click on leave
 62. Switch to alert and click on ok
 63. Switch to alert and click on stay
 64. Switch to confirm and click on accept
 65. Switch to confirm and click on cancel
 66. Switch to confirm and click on leave
 67. Switch to confirm and click on ok
 68. Switch to confirm and click on stay
 69. Switch to new tab
 70. Switch to new window
 71. Switch to original tab
 72. Switch to original window
 73. Switch to prompt and click on accept
 74. Switch to prompt and click on cancel
 75. Switch to prompt and click on leave
 76. Switch to prompt and click on ok
 77. Switch to prompt and click on stay
 78. Type in text in _css("[selector]")
 79. Type in text in [text]
 80. Type in text in _xpath{"[address]"}
 81. Upload file to _css("[selector]")
 82. Upload file to [text]
 83. Upload file to {xpath: "[address]"}
 84. Use custom code from [location]
 85. Verify _css("[selector]") begins with [text] or begins with [text]
 86. Verify _css("[selector]") begins with [text] or ends with [text]
 87. Verify _css("[selector]") begins with [text]
 88. Verify _css("[selector]") contains [text] or begins with [text]
 89. Verify _css("[selector]") contains [text] or contains [text]
 90. Verify _css("[selector]") contains [text] or ends with [text]
 91. Verify _css("[selector]") contains [text]
 92. Verify _css("[selector]") ends with [text] or ends with [text]
 93. Verify _css("[selector]") ends with [text]
 94. Verify _css("[selector]") is _css("[selector]")
 95. Verify _css("[selector]") is _css("[selector]")
 96. Verify _css("[selector]") is disabled
 97. Verify _css("[selector]") is enabled
 98. Verify _css("[selector]") is not visible
 99. Verify _css("[selector]") is visible
100. Verify [text] is on the page
101. Verify _xpath{"[address]"} begins with [text] or begins with [text]
102. Verify _xpath{"[address]"} begins with [text] or ends with [text]
103. Verify _xpath{"[address]"} begins with [text]
104. Verify _xpath{"[address]"} contains [text] or begins with [text]
105. Verify _xpath{"[address]"} contains [text] or contains [text]
106. Verify _xpath{"[address]"} contains [text] or ends with [text]
107. Verify _xpath{"[address]"} contains [text]
108. Verify {xpath: "[address]"} ends with [text] or ends with [text]
109. Verify {xpath: "[address]"} ends with [text]
110. Verify _xpath{"[address]"} is {xpath: "[address]"}
111. Verify {xpath: "[address]"} is _xpath{“[address]"}
112. Verify _xpath{"[address]"} background-color is #ffffff 
113. Verify _xpath{"[address]"} color is #e01719
114. Verify _xpath{"[address]"} font-size 26px
115. Verify _xpath{"[address]"} is disabled
116. Verify _xpath{"[address]"} is enabled
117. Verify _xpath{"[address]"} is not visible
118. Verify _xpath{"[address]"} is visible
119. Verify alert is exists
120. Verify pop up is exists
121. Verify tab is exists
122. Verify the current url is [url]
123. Verify url is [url]
124. Verify variable ${var_name} is [text]
125. Verify window is exists
126. Wait [number] secs
127. Wait for [number] seconds
128. Wait for [number] secs
129. Wait until _css("[selector]") is exists
130. Wait until _css("[selector]") is visible
131. Wait until [text] is exists
132. Wait until [text] is visible
133. Wait until {xpath: "[address]"} is exists
134. Wait until {xpath: "[address]"} is visible

Clone this wiki locally