Picking values from file and match with the screen
I want to create script for buttons and images. But my system works differently. In the system, all the values of buttons and images or static text(if appears on page), come from the file.In this file, first the values is declare and then this value appears on the screen.
Now tell me how should I do the scripting in which it picks and macth the screen value from the file.
It will help me if you send me the code snippet for the same.
Thanks & Regards
Re: Picking values from file and match with the screen
I suppose that you can use some likewise, where can take some values (for buttons, images) from a file:
[ ] STRING sCmd1="NDISExtranet_Admin"
[ ] STRING sCmd2="SetActive"
[ ] string sCmd3="Click"
[ ] string sCmd4="Login"
[ ] string sCmd5="Username"
[ ] string sCmd6="Password"
[ ] string sUser="John", sPassword="Doe"
[ ] @(sCmd1).@(sCmd2)() //SetActive
[ ] @(sCmd1).@(sCmd5).@(sMethod) (sUser)
[ ] @(sCmd1).@(sCmd6).@(sMethod) (sPassword)
[ ] @(sCmd1).@(sCmd4).@(sCmd3)()