InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Is It Possible To Work In A Particular Region In Sikuli? |
|
Answer» YES, it is POSSIBLE to work with a particular region in Sikuli. BASED on the location of a unique pattern (image) on your display, you can also INCREASE the size of the region. Yes, it is possible to work with a particular region in Sikuli. Based on the location of a unique pattern (image) on your display, you can also increase the size of the region. |
|
| 2. |
Mention What Is The Command Used To Type A String On A Text Box? |
|
Answer» To enter PARTICULAR text on the text box this method is USED and COMMAND is s.type(“<<IMAGE name>>” , “String to be TYPED”); To enter particular text on the text box this method is used and command is s.type(“<<image name>>” , “String to be typed”); |
|
| 3. |
Mention What Is The File Extension-name.py Is Used For? |
|
Answer» The file extension-name.py contains the CLASSES and methods, which REPRESENTS the API; that MIGHT be used in a Sikuli Script. The file extension-name.py contains the classes and methods, which represents the API; that might be used in a Sikuli Script. |
|
| 4. |
Explain What Is Match In Sikuli? |
|
Answer» In SIKULI, MATCH is a class available in Sikuli Package. Class match EXTENDS class Region, all methods of class region can be availed with a match object. An object of class Match DISPLAYS the result of a successful FIND operation. In Sikuli, Match is a class available in Sikuli Package. Class match extends class Region, all methods of class region can be availed with a match object. An object of class Match displays the result of a successful find operation. |
|
| 5. |
What Is The Command Setautowaittimeout And Getautowaittimeout() Command Is Used For? |
|
Answer» The setAutoWaitTimeout command is used to DETERMINE the maximum WAITING TIME for all subsequent find operations. While the GETAUTOWAITTIMEOUT is used to determine the current value of the maximum waiting time for find operations. The setAutoWaitTimeout command is used to determine the maximum waiting time for all subsequent find operations. While the getAutoWaitTimeout is used to determine the current value of the maximum waiting time for find operations. |
|
| 6. |
How Sikuli Looks For A Location For Search Images? |
|
Answer» For SIKULI, it maintains a LIST of location to locate images when they are not found in the Sikuli folder. Sikuli will use following the command to look, ADD or remove images from the folder. getImagePath(): # getImagePath() returns a Java array of Unicode strings addImagePath: It adds a new path to the list of image search path removeImagePath : It removes a path from the list of image search PATHS For Sikuli, it maintains a list of location to locate images when they are not found in the Sikuli folder. Sikuli will use following the command to look, add or remove images from the folder. getImagePath(): # getImagePath() returns a Java array of Unicode strings addImagePath: It adds a new path to the list of image search path removeImagePath : It removes a path from the list of image search paths |
|
| 7. |
Explain What Is Sikuli Slides? |
|
Answer» Sikuli slides can be used to test and AUTOMATE ANYTHING you see on the SCREEN using your PRESENTATION slides. For automating repetitive tasks and to CRATE PowerPoint presentation. Sikuli slides can be used to test and automate anything you see on the screen using your presentation slides. For automating repetitive tasks and to crate PowerPoint presentation. |
|
| 8. |
Explain What Is Region In Sikuli? |
|
Answer» In Sikuli, Region class provides an abstraction for the SCREEN regions returned by the find() FUNCTION matching a given visual pattern. Its attributes include X and Y co-ordinates, height, width, and similarity SCORE. In Sikuli, Region class provides an abstraction for the screen regions returned by the find() function matching a given visual pattern. Its attributes include X and Y co-ordinates, height, width, and similarity score. |
|
| 9. |
Mention What Is The Command That Is Used To Find Whether A Particular Element Present On The Screen? |
|
Answer» To find a SPECIFIC element on the SCREEN you use the SYNTAX To find a specific element on the screen you use the syntax s.find(“<<image name>>”); |
|
| 10. |
Mention What Is The Short-cut To Kill The Sikuli Script? |
|
Answer» To KILL the Sikuli Script, you have to USE the SHORT CUT Alt+Shift+C. To kill the Sikuli Script, you have to use the short cut Alt+Shift+C. |
|
| 11. |
Explain How You Can Create An Object For Screen Class And Why Screen Class Is Important? |
|
Answer» In Sikuli, screen is a base CLASS, for this screen class we have to create an object first only then we can access all the methods PROVIDED by Sikuli. Syntax for sikuli includes Syntax for CREATING an object in Sikuli: Screen s=new Screen() In Sikuli, screen is a base class, for this screen class we have to create an object first only then we can access all the methods provided by Sikuli. Syntax for sikuli includes Syntax for creating an object in Sikuli: Screen s=new Screen() |
|
| 12. |
Explain How You Can Retrieve The Name Of The Image On Pop-up? |
|
Answer» You can retrieve the name of the image on pop-up in TWO ways METHOD: 1 query = capture() gotit = Filename [query] [0] POPUP(gotit) Method: 2 popup(“select a icon in the”) query = capture() RESULT = Filename [query] If result: Popup(Result[0]) ELSE: popup (“unknown image”) You can retrieve the name of the image on pop-up in two ways Method: 1 query = capture() gotit = Filename [query] [0] popup(gotit) Method: 2 popup(“select a icon in the”) query = capture() Result = Filename [query] If result: Popup(Result[0]) else: popup (“unknown image”) |
|
| 13. |
Explain How Sikuli Script Works? |
|
Answer» To run a Sikuli SCRIPT, Sikuli IDE creates an org.python.util.PythonInterpreter and passes a few lines of HEADERS to the INTERPRETER automatically. Once these headers are defined or set, the .PY script is simply EXECUTED by PythonIntepreter.execfile(). To run a Sikuli Script, Sikuli IDE creates an org.python.util.PythonInterpreter and passes a few lines of headers to the interpreter automatically. Once these headers are defined or set, the .py script is simply executed by PythonIntepreter.execfile(). |
|
| 14. |
Explain What Exactly Does Sikuli Script Consist Of? |
|
Answer» Sikuli SCRIPT is a combination of JYTHON and Java library that automates GUI interaction USING image pattern to direct mouse or keyboard events. The main segment of Sikuli Script is a Java library which contains two parts:
Sikuli Script is a combination of Jython and Java library that automates GUI interaction using image pattern to direct mouse or keyboard events. The main segment of Sikuli Script is a Java library which contains two parts: |
|
| 15. |
Mention What Is The Difference Between Selenium And Sikuli? |
|
Answer» Sikuli Selenium:
Sikuli Selenium: |
|
| 16. |
List Out What Are The Practical Uses Of Sikuli? |
|
Answer» Practical USES of Sikuli:
Practical uses of Sikuli: |
|
| 17. |
Mention What Sikuli Is Comprised Of? |
|
Answer» Sikuli is COMPRISED of: Sikuli is comprised of: |
|
| 18. |
Explain What Is Sikuli? |
|
Answer» Sikuli is a tool that uses “Visual IMAGE MATCH” method to AUTOMATE graphical USER interface. All the web elements in Sikuli should be taken as an image and stored INSIDE the project. Sikuli is a tool that uses “Visual Image Match” method to automate graphical user interface. All the web elements in Sikuli should be taken as an image and stored inside the project. |
|