Forum Discussion
joffre
14 years agoRegular Contributor
Thanks Robert.
I was thinking here while looking at SmartBear's Documentation and I think I found one easier way to solve my problem.
Instead of create new SQL files with all that things that I was thinking about, I decided to do something much more easier, and I'm almost sure that TestComplete has internal functions that can do it. Hope you can tell me.
On SQL Server logs, when a CREATE TABLE is successfully, the log file stays empty. So, I'll need a script that open the log file, read it and if it isn't empty, it will return a new log saying that.
On Oracle logs, when a CREATE TABLE is successfully, the log file shows "Tabela Criada" (that is Table Created in portuguese). So, I'll need a script that open the log file, read it, and if there is something between the seven first lines and the three last lines, it will return a new log saying that.
Could you PLEASE help me once again?
I was thinking here while looking at SmartBear's Documentation and I think I found one easier way to solve my problem.
Instead of create new SQL files with all that things that I was thinking about, I decided to do something much more easier, and I'm almost sure that TestComplete has internal functions that can do it. Hope you can tell me.
On SQL Server logs, when a CREATE TABLE is successfully, the log file stays empty. So, I'll need a script that open the log file, read it and if it isn't empty, it will return a new log saying that.
On Oracle logs, when a CREATE TABLE is successfully, the log file shows "Tabela Criada" (that is Table Created in portuguese). So, I'll need a script that open the log file, read it, and if there is something between the seven first lines and the three last lines, it will return a new log saying that.
Could you PLEASE help me once again?