Skip to content

Instantly share code, notes, and snippets.

@Arpit360

Arpit360/iTravel

Last active Jul 1, 2016
Embed
What would you like to do?
Last login: Fri Jul 1 11:26:23 on ttys000
FQDN:~ ModePlus$ /Library/Frameworks/Mono.framework/Commands/mono "/var/folders/59/0twwq6sx1nv0pl5km84p1s_h0000gn/T/uitest/repl/xut-repl.exe" ios "/Users/xamarin_360/Desktop/sampleFixed/iTravel/iTravel.UITest/bin/Debug/Xamarin.UITest.dll" "http://127.0.0.1:37265/" "iPhone 6s Plus (9.3) [4EDB5AA2-0F0C-43CA-9449-2695160AB4C4] (Simulator)"
Full log file: /var/folders/59/0twwq6sx1nv0pl5km84p1s_h0000gn/T/uitest/log-2016-07-01_11-52-45-036.txt
iOS test running Xamarin.UITest version: 1.3.7
Skipping IDE integration as important properties are configured. To force IDE integration, add .PreferIdeSettings() to ConfigureApp.
Skipping local screenshots. Can be enabled with EnableScreenshots() when configuring app.
Initializing iOS app on http://127.0.0.1:37265/.
Test server version: 0.19.1
App has been initialized to the 'app' variable.
Exit REPL with ctrl-c or see help for more commands.
>>> app.Tap(x=>x.Text("Paris"))
Tapping first element (2 total) matching Text("Paris") at coordinates [ 207, 86 ]. >>> app.Tap(x=>x.Class("UITableViewCell").Text("Metro station - Urban")) Tapping element matching Class("UITableViewCell").Text("Metro station - Urban") at coordinates [ 207, 218 ]. >>> app.Query(x=>x.Class("UIImageView")) Query for Class("UIImageView") gave 4 results. [ [0] { Id => "/Users/xamarin_360/Library/Developer/CoreSimulator/Devices/4EDB5AA2-0F0C-43CA-9449-2695160AB4C4/data/Library/OnDemandResources/AssetPacks/com.xamarin.iTravel/1941654551239127358/com.xamarin.iTravel.asset-pack-0000546VKODQC.assetpack//Paris/Paris_04.jpg", Description => "<UIImageView: 0x79fbd6b0; frame = (0 64; 414 672); opaque = NO; autoresize = RM+BM; userInteractionEnabled = NO; layer = <CALayer: 0x79fbd790>> - (null)",
Rect => {
Width => 414,
Height => 672,
X => 0,
Y => 64,
CenterX => 207,
CenterY => 400
},
Label => null,
Text => null,
Class => "UIImageView",
Enabled => false
},
[1] {
Id => null,
Description => "<_UINavigationBarBackground: 0x79eae270; frame = (0 -20; 414 64); opaque = NO; autoresize = W; userInteractionEnabled = NO; layer = <CALayer: 0x79eb6850>> - (null)",
Rect => {
Width => 414,
Height => 64,
X => 0,
Y => 0,
CenterX => 207,
CenterY => 32
},
Label => null,
Text => null,
Class => "_UINavigationBarBackground",
Enabled => false
},
[2] {
Id => null,
Description => "<UIImageView: 0x79eb6a80; frame = (0 64; 414 0.333333); userInteractionEnabled = NO; layer = <CALayer: 0x79eb6c90>> - (null)",
Rect => {
Width => 414,
Height => 0.33,
X => 0,
Y => 64,
CenterX => 207,
CenterY => 64.17
},
Label => null,
Text => null,
Class => "UIImageView",
Enabled => false
},
[3] {
Id => null,
Description => "<_UINavigationBarBackIndicatorView: 0x78f5e0c0; frame = (12 11.6667; 13 21); opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x78f5e300>> - Back",
Rect => {
Width => 13,
Height => 21,
X => 12,
Y => 31.67,
CenterX => 18.5,
CenterY => 42.17
},
Label => "Back",
Text => null,
Class => "_UINavigationBarBackIndicatorView",
Enabled => false
}
]
>>>
>>> app.Back()
Navigating back in application Tapping element matching ClassFull("UINavigationItemButtonView") at coordinates [ 40.5, 41 ]. >>> app.Back() Navigating back in application Tapping element matching ClassFull("UINavigationItemButtonView") at coordinates [ 46.5, 41 ]. >>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.