How to use If statement?

How to use If statement?

Hi Please help me how to do this condition:

I need to do the below condition

gotoIf -->If the Page is A--> Target1
gotoIf -->If the page is B--> Target2

Just let me know how to check if the page is A then one set of code need to be executed if it is others then the other set...

Chandrasekaran G,
This topic belongs to the forum
  • Numbers of topics : 2330
  • Numbers of messages : 6044
  • Numbers of users : 5009
  • Numbers of points : 257
Similar topics
consider there are three text fields and two drop down box consist of 'YES' an 'NO' options. first text field is to be filled manually.(assume text as 'name') condition is that, when the two drop down is 'YES' then the other two button are filled with
hey guys how can I say something like this in selenium IDE If (bool = true) { //continue the test } else { //send error report } or some other way to check if the value of bool is true ? SUNDAY, NOVEMBER 6, 2011 Freedom of Speech, the McCanns, and Searching for Maddie by Pat Brown I have been getting a lot of questions about my search fund Madeleine Police Probe Five New Assault Cases Detectives investigate fresh reports of a lone intruder abusing young British girls in holiday apartments in the
I suppose we really should have a thread, so here it is.... Inquiry Warns Editors Not To Target Witnesses The judge leading an investigation into the culture, practices and ethics of the press
Forums from same category