0 votes
8 views

Give an example for step definition using “Given” function?

in Technology by (186k points)

1 Answer

0 votes
For example to make visitor visit the site “Yahoo” the command we use for given

Given (/^ I am on www.yahoo.com$/) do

Browser.goto "http://www.yahoo.com."

end – This will visit www.yahoo.com
by (186k points)

Related questions

0 votes
1 answer 16 views
16 views asked Nov 16, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 13 views
13 views asked Nov 16, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 11 views
0 votes
1 answer 15 views
0 votes
1 answer 12 views
0 votes
1 answer 12 views
0 votes
1 answer 11 views
11 views asked Nov 7, 2020 in Education by Editorial Staff (48.2k points)
+1 vote
1 answer 12 views
0 votes
1 answer 15 views
15 views asked Nov 16, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 11 views
11 views asked Nov 16, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 11 views
11 views asked Nov 16, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 11 views
11 views asked Nov 16, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 11 views
0 votes
1 answer 10 views
0 votes
1 answer 8 views
8 views asked Nov 16, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 11 views
11 views asked Nov 16, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 11 views
11 views asked Nov 16, 2020 in Technology by JackTerrance (186k points)
0 votes
1 answer 9 views
0 votes
1 answer 14 views
0 votes
1 answer 12 views
0 votes
1 answer 25 views
0 votes
1 answer 21 views
...