Skip to content

Commit e962d02

Browse files
authored
Merge pull request #1594 from Ishavyas9/main
appium-ip-geolocation doc
2 parents 4446330 + e2e1a5d commit e962d02

14 files changed

+699
-24
lines changed
116 KB
Loading
102 KB
Loading
102 KB
Loading
99.3 KB
Loading
129 KB
Loading

docs/appium-ip-geolocation.md

Lines changed: 299 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,299 @@
1+
---
2+
id: appium-ip-geolocation
3+
title: IP Geolocation
4+
hide_title: true
5+
sidebar_label: IP Geolocation
6+
description: This document provides information about configuring IP Geolocation for tests on the LambdaTest platform and also provides a list of supported geolocations on Real Devices.
7+
keywords:
8+
- IP Geolocation
9+
- geolocation testing
10+
- testing tools
11+
- LambdaTest
12+
- IP geolocation support
13+
14+
url: https://www.lambdatest.com/support/docs/appium-ip-geolocation/
15+
site_name: LambdaTest
16+
slug: appium-ip-geolocation/
17+
---
18+
19+
20+
import CodeBlock from '@theme/CodeBlock';
21+
import {YOUR_LAMBDATEST_USERNAME, YOUR_LAMBDATEST_ACCESS_KEY} from "@site/src/component/keys";
22+
23+
import Tabs from '@theme/Tabs';
24+
import TabItem from '@theme/TabItem';
25+
26+
<script type="application/ld+json"
27+
dangerouslySetInnerHTML={{ __html: JSON.stringify({
28+
"@context": "https://schema.org",
29+
"@type": "BreadcrumbList",
30+
"itemListElement": [{
31+
"@type": "ListItem",
32+
"position": 1,
33+
"name": "Home",
34+
"item": "https://www.lambdatest.com"
35+
},{
36+
"@type": "ListItem",
37+
"position": 2,
38+
"name": "Support",
39+
"item": "https://www.lambdatest.com/support/docs/"
40+
},{
41+
"@type": "ListItem",
42+
"position": 3,
43+
"name": "IP Geolocation",
44+
"item": "https://www.lambdatest.com/support/docs/appium-ip-geolocation/"
45+
}]
46+
})
47+
}}
48+
></script>
49+
50+
# IP Geolocation
51+
52+
Lambdatest's IP Geolocation feature empowers users to test their websites and mobile applications from various geographical locations worldwide. This feature enables users to simulate traffic originating from different countries and regions, allowing for comprehensive testing of platform functionalities across diverse global markets.
53+
54+
By the end of this document, you'll learn how to use this feature in both manual and automation tests. Additionally, this document will provide a list of all supported IP geolocations on Lambdatest.
55+
56+
57+
## Support for Manual Testing on Real Devices
58+
59+
Once a session starts , navigate to the toolbar and select **IP Geolocation** followed by any location from the list to change the geolocation of the device.
60+
61+
62+
<img loading="lazy" src={require('../assets/images/app-automation/ipgeolocation.png').default} alt="Image" width="100" height="100" className="doc_img"/>
63+
64+
## Support for Automation on Real Devices
65+
66+
To harness the **IP Geolocation** feature in your automated tests, employ the `geoLocation` capability along with a two-letter country code from the list of supported countries provided below. This capability enables you to modify the device's geolocation to the specified location. If this capability is not added, the device will automatically update its geolocation based on its physical location.
67+
68+
**Java Example:**
69+
```java
70+
// Java code for configuring IP Geolcation in tests on LambdaTest
71+
DesiredCapabilities capabilities = new DesiredCapabilities();
72+
capabilities.setCapability("geoLocation", "FR");
73+
// Add other capabilities as needed
74+
```
75+
76+
## Supported IP Geolocations
77+
78+
Below is the list of supported countries along with their respective country codes:
79+
80+
| Name | Code |
81+
| --------------------------------- | -------- |
82+
| Adelaide (Australia) | AU/AL |
83+
| Albania | AL |
84+
| Alberta (Canada) | CA/AB |
85+
| Albuquerque, New Mexico (US) | US/ABQ |
86+
| Andorra | AD |
87+
| Andhra Pradesh (India) | IN/AP |
88+
| Ankara (Turkey) | TR/ANK |
89+
| Argentina | AR |
90+
| Armenia | AM |
91+
| Ashburn, Virginia (US) | US/AB |
92+
| Atlanta, Georgia (US) | US/AT |
93+
| Auckland (New Zealand) | NZ/AU |
94+
| Australia | AU |
95+
| Austria | AT |
96+
| Azerbaijan | AZ |
97+
| Bahrain | BH |
98+
| Bangladesh | BD |
99+
| Barcelona (Spain) | ES/BCN |
100+
| Belarus | BY |
101+
| Belgium | BE |
102+
| Berlin | V2 |
103+
| Berkeley Springs, WV (US) | US/BS |
104+
| Billings, Montana (US) | US/BL |
105+
| Boca Raton, Florida (US) | US/BR |
106+
| Bolivia (La Paz) | BO/LPZ |
107+
| Bosnia and Herzegovina | BA |
108+
| Boston, Massachusetts (US) | US/BO |
109+
| Brazil | BR |
110+
| British Colombia (Canada) | CA/BC |
111+
| Brunswick, Maine (US) | US/BWK |
112+
| Buffalo, New York (US) | US/BU |
113+
| Bulgaria | BG |
114+
| Cambodia | KH |
115+
| Canada | CA |
116+
| Canberra (Australia) | AU/CN |
117+
| Charlotte, NC (US) | US/CH |
118+
| Cheyenne, Wyoming (US) | US/CY |
119+
| Chile | CL |
120+
| China | CN |
121+
| Chicago, Illinois (US) | US/CHI |
122+
| Colombia | CO |
123+
| Columbus, Ohio (US) | US/CO |
124+
| Connecticut (US) | US/CN |
125+
| Costa Rica | CR |
126+
| Cromwell, Connecticut (US) | US/CM |
127+
| Curacao | CW |
128+
| Cyprus | CY |
129+
| Czech Republic | CZ |
130+
| Dallas, Texas (US) | US/DL |
131+
| Dallas-Ft. Worth, Texas (US) | US/DFW |
132+
| Denmark | DK |
133+
| Denver, Colorado (US) | Y6 |
134+
| Des Moines, Iowa (US) | US/DM |
135+
| Detroit, Michigan (US) | US/DET |
136+
| Dominican Republic | DO |
137+
| Dublin (Ireland) | IE/DU |
138+
| Ecuador | EC |
139+
| Egypt | EG |
140+
| El Salvador | SV |
141+
| Estonia | EE |
142+
| Finland | FI |
143+
| France | FR |
144+
| Georgia | GE |
145+
| Germany | DE |
146+
| Greece | GR |
147+
| Guatemala | GT |
148+
| Harrisburg, Pennsylvania (US) | US/HB |
149+
| Hollywood, Florida (US) | US/HW |
150+
| Honduras | HN |
151+
| Hong Kong | HK |
152+
| Honolulu, HI | U3 |
153+
| Houston, Texas (US) | US/HO |
154+
| Hungary | HU |
155+
| Iceland | IS |
156+
| India | IN |
157+
| Indonesia | ID |
158+
| Indianapolis, Indiana (US) | US/IN |
159+
| Iowa (US) | US/IW |
160+
| Ireland | IE |
161+
| Isle of Man | IM |
162+
| Israel | IL |
163+
| Italy | IT |
164+
| Jamaica | JM |
165+
| Japan | JP |
166+
| Jersey City, New Jersey (US) | US/JC |
167+
| Jordan | JO |
168+
| Kansas City, Missouri (US) | US/KC |
169+
| Kazakhstan | KZ |
170+
| Kenya | KE |
171+
| Korea | KR |
172+
| Kuwait | KW |
173+
| Kyrgyzstan | KG |
174+
| La Paz (Bolivia) | BO/LPZ |
175+
| Las Vegas, Nevada (US) | US/LV |
176+
| Latvia | LV |
177+
| Lebanon | LB |
178+
| Lincoln, Nebraska (US) | US/LC |
179+
| Lithuania | LT |
180+
| London | W8 |
181+
| Los Angeles, California (US) | US/LA |
182+
| Luxembourg | LU |
183+
| Madrid (Spain) | ES/MAD |
184+
| Manhattan, New York (US) | US/MHT |
185+
| Maryland (US) | US/ML |
186+
| Malta | MT |
187+
| Melbourne (Australia) | AU/ML |
188+
| Memphis, Tennessee (US) | W4 |
189+
| Mexico | MX |
190+
| Miami, Florida (US) | US/MI |
191+
| Milan (Italy) | IT/MIL |
192+
| Minneapolis, Minnesota (US) | US/MIN |
193+
| Minnesota (US) | US/MN |
194+
| Moldova | MD |
195+
| Mongolia | MN |
196+
| Montana (US) | US/MT |
197+
| Monticello, Illinois (US) | US/MO |
198+
| Morocco | MA |
199+
| Mumbai (India) | IN/MU |
200+
| Munich (Germany) | DE/MUN |
201+
| Nairobi (Kenya) | KE/NAI |
202+
| Nebraska (US) | US/NB |
203+
| New Hamisphere (US) | US/NH |
204+
| New Jersey, New Jersey | X4 |
205+
| New Orleans, Louisiana (US) | US/NO |
206+
| New York City, New York (US) | US/NYC |
207+
| New York City, New York (US) | Z0 |
208+
| New Zealand | NZ |
209+
| Nicaragua | NI |
210+
| Nigeria | NG |
211+
| Norway | NO |
212+
| Oklahoma City, Oklahoma (US) | US/OKC |
213+
| Oman | OM |
214+
| Ontario (Canada) | CA/ON |
215+
| Orlando, Florida (US) | US/ORL |
216+
| Pakistan | PK |
217+
| Panama | PA |
218+
| Paraguay | PY |
219+
| Paris (France) | FR/PA |
220+
| Perth (Australia) | AU/PT |
221+
| Peru | PE |
222+
| Philippines | PH |
223+
| Phoenix, Arizona (US) | US/PHX |
224+
| Pittsburgh, Pennsylvania (US) | US/PIT |
225+
| Poland | PL |
226+
| Portugal | PT |
227+
| Puerto Rico | PR |
228+
| Qatar | QA |
229+
| Raleigh, North Carolina (US) | US/RA |
230+
| Reston, Virginia (US) | US/RT |
231+
| Reykjavik (Iceland) | IS/REK |
232+
| Richmond, Virginia (US) | US/RM |
233+
| Romania | RO |
234+
| Russian Federation | RU |
235+
| Sacramento, California (US) | US/SAC |
236+
| Saint Petersburg (Russia) | RU/SP |
237+
| Salem, New Hampshire (US) | US/SLE |
238+
| Salem, NH | U5 |
239+
| Salt Lake City, Utah (US) | US/SLC |
240+
| San Diego, California (US) | US/SD |
241+
| San Francisco, California (US) | US/SF |
242+
| San Jose, California (US) | US/SJ |
243+
| Santa Clara, California (US) | US/SC |
244+
| Saudi Arabia | SA |
245+
| Serbia | RS |
246+
| Seattle, Washington (US) | US/SEA |
247+
| Singapore | SG |
248+
| Sioux Falls, South Dakota (US) | US/SFL |
249+
| Slovakia | SK |
250+
| Slovenia | SI |
251+
| South Africa | ZA |
252+
| South Bend, Indiana (US) | US/SB |
253+
| Spain | ES |
254+
| Sterling, Virginia (US) | US/ST |
255+
| St Louis, Missouri (US) | US/STL |
256+
| Sweden | SE |
257+
| Switzerland | CH |
258+
| Sydney (Australia) | AU/SY |
259+
| Taiwan | TW |
260+
| Tampa, Florida (US) | US/TPA |
261+
| Tanzania | TZ |
262+
| Thailand | TH |
263+
| Tunisia | TN |
264+
| Turkey | TR |
265+
| Turkmenistan | TM |
266+
| Ukraine | UA |
267+
| United Arab Emirates | AE |
268+
| United Kingdom | GB |
269+
| United States | US |
270+
| Uruguay | UY |
271+
| Uzbekistan | UZ |
272+
| Venezuela | VE |
273+
| Vietnam | VN |
274+
| Washington | Z6 |
275+
| Washington (Herndon), Virginia | US/WAV |
276+
| Wilmington, DE | U4 |
277+
| Wilmington, Delaware (US) | US/WILM |
278+
279+
280+
281+
<nav aria-label="breadcrumbs">
282+
<ul className="breadcrumbs">
283+
<li className="breadcrumbs__item">
284+
<a className="breadcrumbs__link" target="_self" href="https://www.lambdatest.com">
285+
Home
286+
</a>
287+
</li>
288+
<li className="breadcrumbs__item">
289+
<a className="breadcrumbs__link" target="_self" href="https://www.lambdatest.com/support/docs/">
290+
Support
291+
</a>
292+
</li>
293+
<li className="breadcrumbs__item breadcrumbs__item--active">
294+
<span className="breadcrumbs__link">
295+
IP Geolocation
296+
</span>
297+
</li>
298+
</ul>
299+
</nav>

0 commit comments

Comments
 (0)