Current time: 12-19-2017, 02:45 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to configure location.ini
03-31-2017, 06:56 PM (This post was last modified: 03-31-2017 06:57 PM by sally.)
Post: #1
How to configure location.ini
I'd like to configure the agents similar with the location "Dulles, VA USA (Desktop,Android,iOS 9)" as below. Under this location, there will be 9 desktop agents. Among them, 3 agents are with IE9, 3 are with IE10 and 3 are with IE11. But all are with other browsers, e.g. Chrome, Firefox. E.g. when user selects Chrome, it should pick up a free agent from 9 agents. When user select IE9, it should pick up a free agent from 3 agents with IE9. And also, there will some mobile devices which need to be able to selected in the browser list as well.

Would you please provide a sample location.ini for this case? Thanks a lot!

   
Find all posts by this user
Quote this message in a reply
03-31-2017, 10:29 PM
Post: #2
RE: How to configure location.ini
wptdriver.ini can use a comma-separated list of locations that the agent can pull tests from so the IE 9 agents would be configured like:

location=Dulles_IE9,Dulles

and the IE 10 locations would be configured like:

location=Dulles_IE10,Dulles

Then on the server the "Dulles" location would have only the shared browsers (Chrome and Firefox) and the IE release-specific versions would go into the separate locations. Roughly:

[Dulles_group]
1=Dulles
2=Dulles_IE9
3=Dulles_IE10

[Dulles]
browser=Chrome,Firefox

[Dulles_IE9]
browser=IE 9

[Dulles_IE10]
browser=IE 10
Visit this user's website Find all posts by this user
Quote this message in a reply
04-01-2017, 12:45 PM
Post: #3
RE: How to configure location.ini
(03-31-2017 10:29 PM)pmeenan Wrote:  wptdriver.ini can use a comma-separated list of locations that the agent can pull tests from so the IE 9 agents would be configured like:

location=Dulles_IE9,Dulles

and the IE 10 locations would be configured like:

location=Dulles_IE10,Dulles

Then on the server the "Dulles" location would have only the shared browsers (Chrome and Firefox) and the IE release-specific versions would go into the separate locations. Roughly:

[Dulles_group]
1=Dulles
2=Dulles_IE9
3=Dulles_IE10

[Dulles]
browser=Chrome,Firefox

[Dulles_IE9]
browser=IE 9

[Dulles_IE10]
browser=IE 10

It works well. Thank you so much for your help!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)