Selenium IDE Conditional Statements -


I want to ask if there is another way to see the error label, which has been shown whether we There is no need to fill up with the necessary to use the verifyText command.

Here's an example:

  id: [required] PW: [required] Email: [expected] Dropdown box: [required]   

If you make test cases, then there is an easy way to make a test case first, and then three error labels will show whether the other fields will not be filled with that. The PW or email from the dropdown box will be shown even if the error is filled with the error label.

Before saving that field, I'm just using the verified text, but if there are many conditional requirements like this there is no easy and easy way to create this testcase?

Thx

If I understand you correctly, If you ignore the required text fields, you are searching for a way to verify that error message.

Since I know the Waitfortext command and expect the error message to appear, this command will wait until it expects the error message (s) before proceeding. ) Do not see. The command fails when it is unable to receive the required text after 30 seconds. It was also helpful when I had to run my tests on slow machines.

Hope this helps someone.

In addition, as a side note, if you need to adjust Selenium IDE is waiting for the statement before being unsuccessful, do the following:

Go to Options> Options ... In the default timeout text box, change the wait period to milliseconds, whatever you want.

Comments

Post a Comment

Popular posts from this blog

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -