Insert checkpoints without recording
Hi,
In company I heard that record and playback is not done. Only scripting is done. Is it true or record and playback is done. If done, then in which situation it is done. If not done then how to insert checkpoints without recording. I tried it by scripting but I am not getting. please answer. please tell about frame work and complete process from start to end how automation is done advance
thanks
[b]Question asked by visitor balu[/b]
Re: Insert checkpoints without recording
hi Balu,
Too many questions all at once :)....anyways,,,
Yes it is possible to Automate applications without record and playback. Incase your expertise with scripting is good, you can definitely do it.
For checkpoints, we can code without using those that are built in -
For instance to check whether an Object exits or not, instead of using a checkpoint we can code using the syntax -
boolean flag = ObjName.exists
if flag = true
RptEvent.write "Object" & ObjName &"Exists"
end if
a framework is nothing but a structure that encompasses your automation code and lays down a set of rules to carry out automation. We have different kinds of frameworks -
Modular or Functional Decomposition framework
Key word driven framework
DataDriven frameworks
Hybrid Frameworks
Search up on the net and you could find more info.
Cheers
Re: Insert checkpoints without recording
Yes, you can perform checkpoints using scripts. However, it depends on the type of script you want to write and the object you want to test. What kind of object do you want to check?
A generic type of script for checking an object:
CheckPnt=Browser("micClass:=Browser").Page("micClass:=Page").ObjectName("name:=SomeValue", "index:=NameofFile", "someOtherProperty:=Value").GetROProperty("SomeProperty")