-1
を確認しながら、私はテストスクリプトを書くと1つのものは、ウィンドウオブジェクトリスト内にあるかどうかを確認しようとしています「ではないすべての引数は、フォーマット文字列中に変換」まあリスト
...
final_list=self.coveroff(all_list)
logger.info("coveroffed list")
if 'lblPressUpdatetosearchforsubscriptions' in final_list:
logger.info("Success to find the lable PressUpdatetosearchforsubscriptions" % case_name)
else:
logger.info("Unable to find the lable PressUpdatetosearchforsubscriptions" % case_name)
...
、ここでログです:
....INFO: covering off
....INFO: covered off
....INFO: coveroffed list
....ERROR: Test Failed - ERROR Message:not all arguments converted during string formatting
そして私はfinal_listを出すためにテスト、
オブジェクト 'lblPressUpdatetosearchforsubscriptions'は本当にリストの中にあります!
なぜテストスクリプトでチェックアウトできないのですか?間違ったコードがありますか?
ヘルプは物乞い...
神私のああを置くことを決めた場合は、おかげで、引用符の内側%sのプレースホルダを使用する必要があります!!!!それは固定!!! –