0

I am trying the automate the HTTP Requests like Google Analytics tracking made by an input url using robot framework.

I found that capture webdriver with browser mob proxy may be helpful but I am not sure on the exact steps to be followed.

Can anyone please advise on where to start to reach my goal.

Thanks in Advance, Yams.

Bryan Oakley
  • 310,202
  • 36
  • 445
  • 584
Yam
  • 1
  • 2
  • Yam, can you please share what have you tried? – Viral Shah Dec 17 '14 at 18:14
  • Hi Viral Shah, I did not start yet as I have no clue on how to start. All I did is downloaded browsermob proxy from https://github.com/lightbody/browsermob-proxy but I am not able to figure out how to start the proxy and all as I am using windows machine – Yam Dec 17 '14 at 18:21
  • So you are just trying to capture the http traffic? – Zenon Buratta Dec 28 '14 at 13:09

1 Answers1

1

I did it by creating my own keyword.

Select Radio Button Otherwise    CSS_ID   True

This will select all radio buttons with value other than True.

This is my final code

Run My Test
    Select Radio Button    CSS_ID   True
    Correct window should popup 
    Select Radio Button Otherwise    CSS_ID   True  
    InCorrect window should popup

Check Run Keyword If and Run Keyword Unless keywords from the documentation.

Vimal
  • 21
  • 2
  • Hi Vimal,Can you please give more details on how did you start capturing the httprequests – Yam Dec 17 '14 at 18:22
  • through `httpreq` library is available there. – Vimal Dec 17 '14 at 18:34
  • Hi Vimal,Were you able to get the network traffic using httprequests library? Can you please let me know the steps or methods you used. Thanks – Yam Dec 17 '14 at 18:40