pywinauto:saving text to a variable -
i automating windows application using pywinauto. stack overflow helping me way.
my problem statement goes this: after successful run of code 10 times (say), success message 10 times should captured , placed in excel sheet each run (using, openpyxl). capture text array element.
is there way copy text variable element in pywinauto?
uneditable form means disabled edit box / read-only text label
or non-detectable control without native handle
?
for disabled edit box or text label can text using that:
app.windowname.editbox.windowtext()
. of course,editbox
correct access name can found inapp.windowname.printcontrolidentifiers()
method output.for non-detectable control not able copy text. future pywinauto 0.6.0 release may you.
Comments
Post a Comment