This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Created by SharpDevelop. | |
* User: thu | |
* Date: 2014-10-31 | |
* Time: 09:22 | |
* | |
* To change this template use Tools | Options | Coding | Edit Standard Headers. | |
*/ | |
using System; | |
using TestStack.White; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Test Name: Automate | |
Test FullName: TestStack.White.UITests.ControlTests.ListControls.CheckedListBoxTest.Automate | |
Test Source: c:\Home\projects\White_UIAComWrapper\src\TestStack.White.UITests\WhiteTestBase.cs : line 42 | |
Test Outcome: Failed | |
Test Duration: 0:00:06,248 | |
Result Message: | |
TestStack.White.UITests.TestFailedException : Failed to run CanCheckItem for WinForms. Details: | |
System.InvalidCastException: Unable to cast object of type 'TestStack.White.UIItems.CheckBox' to type 'TestStack.White.UIItems.ListBoxItems.ListItem'. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selendroid_1; | |
import io.selendroid.MultiTouchAction; | |
import io.selendroid.SelendroidCapabilities; | |
import io.selendroid.SelendroidDriver; | |
import io.selendroid.TouchAction; | |
import io.selendroid.TouchActionBuilder; | |
import org.junit.Assert; | |
import org.openqa.selenium.By; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selendroid_1; | |
import io.selendroid.MultiTouchAction; | |
import io.selendroid.SelendroidCapabilities; | |
import io.selendroid.SelendroidDriver; | |
import io.selendroid.TouchAction; | |
import io.selendroid.TouchActionBuilder; | |
import org.junit.Assert; | |
import org.openqa.selenium.By; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"url": "http://localhost:8080/wd/hub/session/fd16292c-becf-1a8e-370a-c0737d889f83/actions/", | |
"method": "POST", | |
"json": { | |
"payload": [ | |
{ | |
"id": "", | |
"inputDevice": "touch", | |
"actions": [ | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package selendroid_1; | |
import io.selendroid.MultiTouchAction; | |
import io.selendroid.SelendroidCapabilities; | |
import io.selendroid.SelendroidDriver; | |
import io.selendroid.TouchAction; | |
import io.selendroid.TouchActionBuilder; | |
import org.junit.Assert; | |
import org.openqa.selenium.By; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2011 Selenium committers | |
* | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except | |
* in compliance with the License. You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software distributed under the License |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from selenium import webdriver | |
from selenium.webdriver.common.touch_actions import TouchActions | |
from time import sleep | |
desired_caps = {} | |
desired_caps['platformName'] = 'Android' | |
desired_caps['platformVersion'] = '4.1' | |
desired_caps['deviceName'] = 'Android' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Selendroid.prototype.pinchClose = function (startX, startY, endX, endY, duration, | |
percent, steps, elId, cb) { | |
var command; | |
var fromPointObject = {'x' : startX, 'y' : startY}; | |
var toPointObject = {'x' : endX, 'y' : endY}; | |
var moveX = (endX - startX)/4 | |
var moveY = (endY - startY)/4 | |
if (elId) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#EXTM3U | |
#EXTINF:0,HNWS-HD 湖南卫视高清 | |
rtsp://58.200.131.2/JSWS-HD | |
#EXTINF:0,Hollywood movie channel, | |
rtsp://c.itvitv.com/hlw.ueidhefgecuyh | |
#EXTINF:0,Hong Kong etm | |
rtsp://c.itvitv.com/etm.jhfuowamedr | |
#EXTINF:0,Hong Kong hkm3 | |
rtsp://c.itvitv.com/hkm3.husjadsuh | |
#EXTINF:0,Hong Kong HMC |
OlderNewer