Question
4
Replies
177
Views
Infosys Ltd
Posted: January 8, 2019
Last activity: January 11, 2019
Closed
Solved
Open Browser by referring URL from Excel
Hi, I am new to Openspan tool. For my project, I need to open a browser by referring the URL from an excel sheet. I tried to launch the same by using Excel Get Cell and passed the value to Web Application Start Page method. (training.openspan.com/). Also tried to pass the URL from Excel to Variable to Web Start Page. But browser is not getting launched with the URL. Attached the Automation flow screenshot. Kindly share any solution.
Thanks,
Sathish
Add a breakpoint on the yellow process line between the getCellValue and StartPage property
When you Run the solution and debug stops at the breakpoint, hover over the blue data line. If it shows the URL then the property for the StartPage will be set.
Now you need to
Option 1) use the 'Start' method of the adapter to start the 'Web Application1' adapter with the new StartPage.
Option 2) Make sure the IE frame has been interrogated and use the 'Navigate' method of the interrogated IE frame to have it actually use the new StartPage property.
See picture