Jump to content

Recommended Posts

Posted

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

forum.PNG

Posted

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 here
RegExp tutorial: enough to get started
PCRE 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)

Posted
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 

 

Posted

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 here
RegExp tutorial: enough to get started
PCRE 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)

Posted (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 by shreya

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...