Reputation: 11
I am new to RFT and i just want simple script to open browser and close the same using RFT. I tried to find solution on internet but there were solutions which i can't digest. Help me out on this
Upvotes: -1
Views: 382
Reputation: 1240
First, you need to enable your browser. Then configure your application. After that you can use the recorder to start your configured application (this starts the browser if it is a web application) and you can also use the recorder to record the close browser action.
For starting your browser the generated code will be something like this:
startApp("nameOfTheAppYouConfigured");
For closing:
browser_htmlBrowser(document_YourDocument(), MAY_EXIT).close();
BTW: What is so difficult in following a guide like this or just using the RFT tutorials...
Upvotes: 0