Skip to content

Commit d7a00b9

Browse files
committed
ui
1 parent 0e0cb13 commit d7a00b9

File tree

10 files changed

+38
-33
lines changed

10 files changed

+38
-33
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Common/WebDriver/WebDriverCmd.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -252,11 +252,16 @@ def WaitKeyBoard(self,key_press):
252252

253253
def SetInputText(self, key,title):
254254
webcmd = WebDriverCmd(self.driver)
255-
pyperclip.copy(title)
256-
pyperclip.paste()
257-
webcmd.AddCmd2(CmdType.CLICK_Action, key)
258-
webcmd.AddCmd2(CmdType.CTR_V, key)
259-
webcmd.Run(True)
255+
if Platform.isWindowsSystem():
256+
pyperclip.copy(title)
257+
pyperclip.paste()
258+
webcmd.AddCmd2(CmdType.CLICK_Action, key)
259+
webcmd.AddCmd2(CmdType.CTR_V, key)
260+
webcmd.Run(True)
261+
else:
262+
webcmd.AddCmd(CmdType.INPUT, key,title)
263+
webcmd.Run(True)
264+
260265

261266
def DoCmd(self,item,type,value="",cmd="",index=0):
262267
if type == CmdType.CLICK:
74 Bytes
Binary file not shown.

ProjectConfig/.DS_Store

0 Bytes
Binary file not shown.

ProjectConfig/CmdDefault/.DS_Store

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

ProjectConfig/CmdDefault/cmd_mac/Ad/baidu/CreateAppiOSHD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@ fi
3232

3333
cd $filepath
3434
cd ../../../../../../../Common/PythonUnity/ProjectConfig/Script
35-
python3 AdManager.py $filepath createapp ios baidu hds
35+
python3 AdManager.py $filepath createapp ios baidu hd
3636

0 Bytes
Binary file not shown.

ProjectConfig/Script/GetAppProfile.json

Lines changed: 27 additions & 27 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)