How to read input from user at run time?

73 views
Skip to first unread message

Nikita Channawar

unread,
Jan 19, 2018, 5:49:39 AM1/19/18
to Cognizant Intelligent Test Scripter


Hi Team,

I want to take input i.e., User ID and Password from users, which command do I need to provide in Action field?

I don't want to hardcode User ID and Password in tool

Also, when I select Action as Highlight for my provided object, its not highlighting the textbox.

Please help to get query resolved. Thanks!

shantha laxmi kumar

unread,
Jan 19, 2018, 6:02:51 AM1/19/18
to Cognizant Intelligent Test Scripter
HI,

CITS has provisions to create data sheets for your project, please leverage the same to parameterise your test cases instead of hard coding every test data. Please use the action "set" for the same, refer here for more information on actions in CITS,

Also for the highlight action to work, please check the properties of your web object and check if you are able to identify the same without any issues while executing your CITS test cases, if so you should be able to highlight the web element.
Reply all
Reply to author
Forward
0 new messages