Wednesday, November 19, 2014
On 1:01 AM by Unknown No comments
Answer 75: If you want to see all options available while starting Selenium
server then you should use option “-h” while starting Selenium server -
java -jar selenium-server.jar –h
(It will display you all the options which you can use while
starting the Selenium server.)
Answer 76: You may like to create your own Firefox profile because Selenium
always created a clean Firefox profile while executing the tests and none of
your Firefox settings and plug-in are considered with this clean profile. If
you want to execute tests on Firefox with your settings then you should create
custom profile for Firefox.
To be able to execute
tests on a custom Firefox profile you should specify its path while starting
Selenium server. For example if your new profile is stored at “awesome
location” in your directory then you should start Selenium server as following
–
java -jar selenium-server.jar -firefoxProfileTemplate
"awesome location"
Answer 77: Start your Selenium Server as following –
java -jar selenium-server.jar -log selenium.log
And Selenium would start
logging server side info, i.e.
20:44:25 DEBUG [12]
org.openqa.selenium.server.SeleniumDriverResourceHandler -Browser 12345/:top
frame1 posted START NEW
Subscribe to:
Post Comments (Atom)
Search
Popular Posts
-
Sample Selenium IDE Test Script by Recording: We will use the Mercury Tours website as our web application under test. It is an online flig...
-
Locating GUI Elements Locating elements in WebDriver is done by using the “findElement(By. locator ())” method. The “locator” part of the co...
-
Answer 75 : If you want to see all options available while starting Selenium server then you should use option “-h” while starting Seleni...
-
Answer 60 : While using java you need to create instance of DefaultSelenium class and pass it four parameters – selenium = ne...
-
Answer 51 : Selenium RC is an offering from SeleniumHQ which tries to overcome following draw backs of Selenium IDE – Able to execute...
-
Answer 54 : Selenium core is the core JS engine of Selenium which executes tests on browser, but because of same origin policy it needs t...
-
Answer 18 : You need to use context menu to add check points to your Selenium IDE tests Answer 19 : There are two ways to edit tests...
-
Answer 15 : Yes, you can first record individual test cases and then group all of them in a test suite. Following this entire test suite ...
-
Answer 38 : You could XPath checker - https://addons.mozilla.org/en-US/firefox/addon/xpath-checker/ to test you XPath locators and Fi...
-
Answer 44 : You can change default behavior of Selenium IDE > element locator preference by crating JS file with following– Locato...
Shaik. Powered by Blogger.
0 comments:
Post a Comment