How to use If statement?

19
Feb
2011
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...

Thanks
Chandrasekaran G,
About
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 ?
http://womenincrimeink.blogspot.com/2011/11/freedom-of-speech-mccanns-and-searching.html 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
http://news.sky.com/story/1247676/madeleine-police-probe-five-new-assault-cases 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.... http://news.sky.com/home/uk-news/article/16109608 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