I am new to selenium. I wrote 4 tests, now i want to run 2 tests on one node and two to other, how to do that. both the node have same configurations i mean same browser same platform and same versions i am using selenium-server-standalone-2.44.0.jar to create hub and node.
Java:Selenium Grid: How to Run specific tests on particular node
1.3k Views Asked by Alpana Chauhan At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in ECLIPSE
- Set log4j.properties for GWT
- Compound classes stored in an array are not accessible in selenium java
- Eclipse color highlighting broken
- Eclipse Luna with Nodeclipse hangs when navigating a .js file with the Outline view
- Java Heap Space error on Layout xml: GC overhead limit exceeded
- Eclipse, how to find how many attributes defined in a class?
- Eclipse and Windows Headers
- Eclipse find source file from library
- mingw-64 conflicting declarations when cross-compiling
- String.split() not behaving in android
- local variable referenced before assignment in strange condition
- eclipse errors when try to change to master git branch
- Scala Eclipse IDE compiler giving errors until "clean" is run
- Not able to send email in java using SMTP,its blocked by firewall in my office.Is there any other method by which we can send mail?
- Behaviour Difference: Intellij vs Eclipse
Related Questions in TESTNG
- Spring + TestNG Autowiring failure - NOT due to "new"
- How do I use DataProvider with Apache POI
- Unable to read excel if cell/column has drop down list enabled for Selenium webdriver TestNG
- Dynamic @Test generation in TestNG
- how to get a text string from
- Validation without skipping the test cases if one fails
- TestNG [Error] no test suite found. nothing to run
- How to handle failures in Test Suite in selenium webdriver
- mysql -how can we store Testng results to database
- Two empty instances of firefox browser opens testng selenium webdriver
- Eclipse - Not able to run TestNG tests
- TestNG ANT: disable ONLY the html reporter
- TestNG with IE webdriver
- running same test with different dataprovider in testng
- Overloading Selenium WebDriver Test Cases with DataProvider
Related Questions in SELENIUM-GRID2
- Can Selenium use multi threading in one browser?
- Unable to create WebDriver instance on Selenium 3.0 Grid / Node
- getting error with chromedriver using RemoteWebdriver
- Java:Selenium Grid: How to Run specific tests on particular node
- Running a simple test in selenium grid 2 using ruby
- Specifying Windows Versions (or Specific Machines) in Selenium Grid
- Finding element while using Selenium Remote Server
- Selenium Grid Setup in Jenkins
- selenium-server-standalone - Browser launches but then a timeout error is displayed
- Is there any way to setup grid nodes from the hub node remotely?
- Playwright + Selenium Grid (docker yaml) - error connect timeout
- How integrate Selenium Grid 2 With Hudson/Jenkins?
- Integration of selenium grid with automation framework
- My test is getting failed when i try to execute on "Linux/XP/etc" platforms using Selenium Grid
- Python Selenium Remote Webdriver(Chrome Webdriver via Selenium Grid), created but does not open browser
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Grid generally manages distribution of test case execution on it's own. If both nodes are of the same configuration, Grid will send a test to each node, then as these first tests complete, another test will be sent, repeated until the suite is complete. Depending on the length of your tests, this could in fact result in two tests on each node being executed. If tests vary in length, you could possibly end up with a 3/1 scenario. Even if that's the case though, it wouldn't create any technical difference so long as the nodes are the same (as you stated, they are).
Unless you have a specific purpose in mind for why which tests get executed on which node, Grid pretty much handles all the work of dividing the work among the resources it has at its disposal.
I know this info is somewhat generic, but if you have a specific requirement, please update your question and we'll all be able to help you better.