Results 1 to 3 of 3

Thread: Insert checkpoints without recording

  1. #1
    Geek_Guest
    Guest

    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

    Question asked by visitor balu


  2. #2
    Expert Member
    Join Date
    Oct 2007
    Answers
    375

    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


  3. #3

    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")


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact