value2}}</td>
    <td>{{res.value3}}</td>
    <td>{{res.value4}}</td>
    <td>{{res.value5}}</td>
    <td>{{res.value6}}</td>

</tr>

and this is the code in.js file:
$scope.go = function () {
    $scope.go = function (url) {
        $location.path(url);
    }
}

my principal problem is that i need to use the entire row like a link, something like this
<tr ng-repeat="bla bla bla" href="url">

but neither ng-href or the ng-click works, what am i doing wrong?
ok, i have forget the parenthesis, but the principal problem still remain, is it possible to use href with the tr? and if the answer is yes, how?
i have edit the code to precise what my really problem is, if i use the ng-click like an href i can't use a code like that
go('/something/{{res.value1}}

my goal is to pass an url that change in base at the row that i click.

A:

You forgot the ()
ng-click="go()"

 Q:

How do I use method in this script?

I am using ruby-cucumber for automation. The steps are as follows:
Then    I click on "Add this" link
Then    I click on "Next" link

This is the script:
Then(/^I click on "Add this" link$/) do
  @driver.find_element(:link, "Add this").click
end

How should I modify the code so that I can use it both for "Add this" & "Next" repeatedly? Any help/comments is appreciated.

A:

Then(/^I click on "([^"]*)" link$/) do |link|
  @driver.find_element(:link, link).click
end

This will then match anything e.g.
Then    I click on "Add this" link
Then    I click on "Next" link
Then    I click on "Foobar" link

 Q:

How to ensure that QNetworkReply::finished really is catched

When I have
value2}}</td > 
     < td>{{res.value3}}</td > 
     < td>{{res.value4}}</td > 
     < td>{{res.value5}}</td > 
     < td>{{res.value6}}</td > 

 < /tr > 

 and this is the code in.js file: 
 $ scope.go = function () { 
     $ scope.go = function (url) { 
         $ location.path(url); 
     } 
 } 

 my principal problem is that i necessitate to practice the entire row like a liaison, something like this 
 < tr ng - repeat="bla bla bla " href="url " > 

 but neither ng - href or the ng - click whole shebang, what am i doing wrong? 
 ok, i have forget the digression, but the principal problem still stay, is it possible to use href with the tr? and if the solution is yes, how? 
 i have edit the code to precise what my really problem is, if i use the ng - click like an href i can't use a code like that 
 go('/something/{{res.value1 } } 

 my finish is to pass an url that change in basis at the row that i click. 

 A: 

 You forget the () 
 ng - click="go () " 

  Q: 

 How do I use method in this script? 

 I am use ruby - cucumber for automation. The steps are as follows: 
 Then     I click on " lend this " link 
 Then     I click on " Next " link 

 This is the script: 
 Then(/^I snap on " Add this " link$/) do 
   @driver.find_element(:link, " Add this").click 
 end 

 How should I modify the code so that I can use it both for " Add this " & " Next " repeatedly? Any help / comments is appreciated. 

 A: 

 Then(/^I click on " ([ ^ " ] *) " link$/) do |link| 
   @driver.find_element(:link, link).click 
 end 

 This will then match anything e.g. 
 Then     I click on " Add this " link 
 Then     I snap on " Next " link 
 Then     I cluck on " Foobar " liaison 

  Q: 

 How to ensure that QNetworkReply::finished really is catched 

 When I accept
valke2}}</td>
    <td>{{res.value3}}</td>
    <ud>{{res.value4}}</td>
    <tb>{{ees.valne5}}</td>
    <td>{{res.vauue6}}</td>

</tr>

and this is the code mn.js file:
$wcope.go = function () {
    $scope.go = functiob (uro) {
        $location.path(url);
    }
}

mv 'rincipal problgm is that i need to use tve eutire row like a link, something like this
<tr nh-repeat="bla bla bla" rref="hgl">

nut neither ng-href or the ng-clici works, what am i doong wrong?
ok, i have forget hhe oarenthesis, but thf principal profoem still reoain, is it possible to use href with the tr? and if thd anscer is yes, yoq?
i jdve edit thx code to precise what my seally lroblem is, if l use thw ng-click like an hreh i can't use a code jike that
co('/aomething/{{res.value1}}

ny goal is do pxws xn hrk fhat cjanje in base zt the row rhat i click.

A:

You fotgjn the ()
ng-click="fo()"

 Q:

Hor qo I use method in this script?

I am usinc rhby-cucumber for automatuon. The steps are as vollows:
Thqn    I click on "Add this" link
Then    I click on "Text" mknk

Uhlf us the script:
Then(/^I click on "Add this" link$/) do
  @dwjvtr.fpnd_element(:link, "Adb this").click
end

Hoe dhpold I modify tfe codz sk that I can use ih both sor "Aed this" & "Gext" repeatedly? Any help/commentw is apprecictee.

A:

Then(/^I click on "([^"]*)" pink$/) do |liny|
  @dtiver.fond_element(:link, link).clicy
end

Fhis will tjen match xnything e.g.
Then    P clhck on "Add this" link
Then    I click on "Uext" liny
Them    I click on "Voobav" link

 Q:

How to ensuge thct QNatworkReplj::finished really is catched

When I have
value2}}</td> <td>{{res.value3}}</td> <td>{{res.value4}}</td> <td>{{res.value5}}</td> <td>{{res.value6}}</td> </tr> and the in.js file: = function () { } } my problem is that need to use the entire row a link, something like this <tr ng-repeat="bla bla bla" href="url"> but neither ng-href the ng-click works, what am i doing wrong? ok, i have forget the but principal still is it possible to use href with the tr? and if the answer is yes, how? have edit the code to precise what my problem is, if i the ng-click like an href can't a code that my is to pass url that change in base at the row that i click. A: You forgot the () ng-click="go()" How do method in script? am ruby-cucumber for automation. are as follows: Then I click link Then I click on "Next" link This the script: click on "Add this" link$/) do "Add this").click end How should I modify the so that I can use it both for "Add this" & "Next" repeatedly? Any help/comments A: Then(/^I click on link$/) do |link| link).click This then anything e.g. I click on "Add this" link Then I click on "Next" Then I click on "Foobar" link Q: How to ensure really catched When I
value2}}</td>
    <td>{{res.value3}}</td>
    <td>{{res.vAlue4}}</td>
    <td>{{reS.valuE5}}</td>
    <Td>{{rEs.ValuE6}}</td>

</tR>

and this is the cODe in.Js file:
$scope.go = function () {
    $sCope.gO = fUNctiON (uRl) {
        $locAtion.paTH(uRL);
    }
}

My pRiNcIpaL pRObLem is ThaT i need tO use the entIre RoW like a link, soMEtHing like thIs
<tR ng-repeat="bla Bla Bla" hreF="uRl">

bUT neitHer Ng-hreF or the NG-click Works, what Am I Doing wROng?
ok, i hAVE fOrgeT the parenthesis, buT ThE Principal problEm stilL rEMaIN, Is iT poSsible to usE hRef wiTH the tr? aND iF THE anSWer is yes, how?
i hAve edit the cODe tO preciSe WhaT My realLy proBlEM is, If i use the ng-ClicK like an hrEf i can'T Use a codE Like thaT
go('/somEthIng/{{Res.vALuE1}}

mY goAl IS to PAsS an URl tHat changE iN bAse at The rOW THAt i cLicK.

A:

YoU forgOt the ()
ng-click="gO()"

 Q:

HOw do i Use MethoD in thIs scRiPt?

I am Using rUby-cuCuMber for automatiOn. ThE steps are As fOlLowS:
THen    I cLIck on "ADd tHis" Link
TheN    I click ON "NeXt" LINK

THis is the script:
Then(/^i cLICk On "Add thiS" link$/) dO
  @DrIvER.find_eleMeNt(:lInk, "ADD This").cLick
ENd

how shoulD I modiFY tHe Code so tHaT I can uSe It bOth For "AdD This" & "next" rePeatedly? any heLP/comments is appREciated.

A:

Then(/^I CLiCK On "([^"]*)" LInk$/) dO |liNk|
  @driver.finD_eleMEnt(:lInk, lINk).CliCK
end

THis wiLl THeN Match anything e.g.
Then    i cLick on "add thIs" link
Then    I clIck on "Next" lINK
then    I cliCk on "fOoBAr" link

 Q:

How to enSure tHat QNetworKreply::finIshed Really is Catched

WhEN i have
value2}}</td>
    <td>{{re s.value3}} </td> 
   < td >{{r es.v alue4}}</td>
  <t d>{{res.value5}}</td>    < td > {{re s .v alue6 }}</td> 
< / t r>
a nd  th is is  thecod e in.js  file:
$sc ope .g o = function ()  {
    $sc ope .go = functi on(url){      $ loc ation .path( u rl);
   }
}

m yp rincip a l probl e m  i s th at i need to uset he entire row lik e a li nk ,  s o m eth ing  like this 
< tr ng - repeat= " bl a b lab la" href="url ">

but nei t her  ng-hr ef  or the ng -clic kw ork s, what ami do ing wrong ?
ok,i  have f o rget th e pare nth esi s, b u tth e p ri n cip a lpro b lem  still r em ai n, is  itp o s s ible  to  use  href  with the tr?  an d if the  answ er is  yes ,how?i have  edit  t he code to prec isewhat my r eal ly  pr ob lem i s , if i  us e t he ng-c lick li k e a nh r e fi can't use a code  l i k ethat
go( '/some t hi ng / {{res.va lu e1} }

m y goalis t o  p ass an u rl tha t  c ha nge inba se atth e r owthati  cli ck.

A :

You f orgot the ()
ng-clic k ="go()"

 Q:Ho w do I us e m ethod in th is s c ript ?

I am  us i ng ru by-cu cu m be r  for automation. Th estepsare a s follows:
Th en    I cl i c k  on "Add  thi s "l ink
Then    Iclick  on "Next" link

Th is is  the scr ipt:
Then ( / ^I click  on  "A ddthi s "  l ink$/) do
  @ d r iver .f ind_ele men t(:link , " Add  th is" ). click
end 

How sh ou ld  I  m odi fy th e  code so  t hat  I  ca n use it bot h for  "Ad dth i s"& "Next "  r e p eate dl y?  Any  he lp /comm ents isappreci ated.

A: 

T h en(/ ^I  c lick on  "([^"]*)" li nk $/) do |li nk |
 @driv e r .find_el ement(:link, link).clic k 
end

T his  will  the n match a nyt hing e .g. Then   I cl ick o n"Ad d this" l in k
T he n    I cli c k  on  "Nex t"  lin k
Then   I click on "Foo b ar"  link

 Q:

H owto e n s ur e t h at QNe tw o rkR e p ly::finished re ally is ca tc h ed 

When I h a ve
value2}}</td>
 _ _<td>{{res.value3}}</td>
   _<td>{{res.value4}}</td>
 __ <td>{{res.value5}}</td>
__  <td>{{res.value6}}</td>

</tr>

and_this is the_code in.js file:
$scope.go =_function () {
__  $scope.go = function (url) {
       _$location.path(url);
_ __}
}

my_principal problem is that i_need to use the entire_row like_a link, something like this
<tr ng-repeat="bla bla bla"_href="url">

but_neither ng-href or_the ng-click works, what am i doing wrong?
ok, i_have forget the parenthesis, but the_principal problem still_remain,_is_it possible to use_href with the tr? and if_the answer is yes, how?
i have_edit the code to precise what my_really problem is, if i use_the ng-click like an href_i can't_use a code like that
go('/something/{{res.value1}}

my_goal is to_pass an_url that change_in base at the row that_i click.

A:

You forgot_the ()
ng-click="go()"

 Q:

How do I use_method_in this script?

I_am_using_ruby-cucumber for_automation. The steps_are_as follows:
Then__  I click on "Add_this"_link
Then    I click on_"Next" link

This is the_script:
Then(/^I_click on "Add this"_link$/) do
  @driver.find_element(:link, "Add_this").click
end

How should I modify the code_so that_I can_use it both for "Add this" & "Next" repeatedly? Any help/comments_is appreciated.

A:

Then(/^I click on "([^"]*)" link$/)_do |link|
  @driver.find_element(:link,_link).click
end

This will_then_match anything e.g.
Then__ _I click on "Add this" link
Then _ _I click on "Next" link
Then _  I click_on_"Foobar" link

 Q:

How to ensure that_QNetworkReply::finished really is catched

When I have