shreya Posted October 16, 2019 Posted October 16, 2019 Hi i want to validate the text in the logs that are observed on active window .I am unable to use ControlGetText function , i am newbie and am unable to understand what to do. My objective is verify if text that is appearing in the logs is matching the expected text that i want .I also tried to capture two screen shot so i could compare both but i don't think that is the right approach could someone guide me in the right direction. The logs text that is shown i want to verify all the file success and the all hex files are present text in it , i am unable to find a way please help
jchd Posted October 16, 2019 Posted October 16, 2019 Post your code and the result or error it gets. It should be possible to read the STVP log control. BTW, why don't you trust STVP? This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
shreya Posted October 16, 2019 Author Posted October 16, 2019 3 minutes ago, jchd said: Post your code and the result or error it gets. It should be possible to read the STVP log control. BTW, why don't you trust STVP? It is not that i dont trust STVP i just want to verify that the file successful message is displayed, so i just need a check
jchd Posted October 16, 2019 Posted October 16, 2019 Use window info tool to get control identification of the log control in STVP, then use that to get inner text. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
Developers Jos Posted October 16, 2019 Developers Posted October 16, 2019 Moved to the appropriate forum. Moderation Team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
shreya Posted October 18, 2019 Author Posted October 18, 2019 (edited) 🤯i used $a=WinGetText("project [3.0.3.stp] - STVP") to get the text but is there anywa that i can directly validate if mutiple text is present in the visible text like \ if text="abc,." is present in the visible tab of autoit then text is validated. Edited October 18, 2019 by shreya
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now