Contributions
Re: Clicking on disabled buttons to verify if nothing happens returns error
Hi hkim5, I was hoping for a functional test, but I appreciate the input.I'm thinking I'll use the properties of the button to click the button within the coordinates of the parent. Easier said than done, but I'm hoping I can do a functional test without an error or warning. The verification step will be that a window does not pop up after this click. I'll let you all know how it goes.608Views0likes0Comments- 759Views0likes1Comment
Re: Issue with WaitWPFObject syntax
Hi Marsha, I was hoping for a functional test, but I appreciate the input.I'm thinking I'll use the properties of the button to click the button within the coordinates of the parent. Easier said than done, but I'm hoping I can do a functional test without an error or warning. The verification step will be that a window does not pop up after this click. I'll let you all know how it goes.761Views0likes2CommentsClicking on disabled buttons to verify if nothing happens returns error
Hello, I'm trying to verify that if you click on a button that is visible but disabled nothing happens. If I use .ClickButton(), this will result in an error as the button is disabled. If I use .Click() I get a warning that the button is disabled(what I want) and that the action was performed incorrectly. What are some recommendations to work around this? Thank you, KyleSolved644Views0likes2CommentsIssue with WaitWPFObject syntax
Hello, I'm trying to check if an object exists. I unfortuently keep getting a False when I know its present. Here is the code I'm attempting to use: wpf = 'WPFObject("DataGridRow", "", ' + str(z) + ')' obj = dataGrid.WaitWPFObject(wpf,1000) if obj.Exists is True: #what I'd like to do because it should be true I've confirmed dataGrid is accurate and the z is a loop variable. It fails at 1. In debug mode I confirmed that wpf becomes 'WPFObject("DataGridRow", "", 1)' and the object name isWPFObject("DataGridRow", "", 1) according to object spy. It looks like it's trying to add backslashes in the name. Am I making a mistake with the syntax here? The language is python. Thank you, Kyle835Views0likes5CommentsUsing wildcards in CheckPDFText
Hello, Does anyone know if there is a way to use wildcards in PDF checks? More specifically I'm comparing a PDF generated by the software, but I know there will be differences in the date the PDF is generated depending on when the test is run, so I was hoping to use a wildcard for that part of the text interpreted by OCR.Solved518Views0likes1Comment