| || |
Problem with message box
I recorded a script for the login screen (username and password) and attached the datapool,for the invalid entries it will give MessageBox and for the valid entries it display the main Screen. Is it possible to automatically give yes and no in Error dialog box at a time of playback.
Re: Problem with message box
In your datapool, add a column indicating the action you wish to do.
So something like these entries as needed:
abhi_sharma04, mypassword, yes
abhi_sharma04, mypassword, no
abhi_sharma04, mypassword, null
After you've entered name (abhi_sharma04) and password (mypassword), you should be checking your context anyhow but after that check the value of the datapool value
SQADatapoolValue (dp_id, 3, dp_Value)
Select Case dp_Value
'Press on Yes Button
'Press on No Button
'Put this or not, it would mean do nothing