Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.01 KB

UserAgentMapping.md

File metadata and controls

20 lines (15 loc) · 1.01 KB

UserAngetMapping.xml settings

Tatami separates User Agent settings from test case CSV. If you want to set User-Agent in test case, you need to create UserAngetMapping.xml and assign key name into test case CSV.

Sample file : samples/SampleTest/UserAgentMapping.xml

<UserAgentMapping>
  <Item Key="IE11">Mozilla/5.0 (Windows NT 6.3; Win64, x64; Trident/7.0; Touch; rv:11.0)</Item>
  <Item Key="iPhone">Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53</Item>
</UserAgentMapping>

Sample test case CSV : https://docs.google.com/spreadsheets/d/1Gvnq2NlBXyrnsjBH0Xr-R8U0f9RLeCR9RH5eAdTL_XE/edit?usp=sharing

  Arrange    
  HttpRequest Actual    
  BaseUri UserAgent PathInfos
Test United States en-US IE11 wiki