The document contains code snippets demonstrating various ways to interact with databases and files in Visual Basic Script (VBS). This includes examples of connecting to databases, inserting and retrieving data, importing/exporting data from Excel files, reading/writing to text files, and running SQL commands. The last example shows how to parameterize login tests by reading username and password data from an Excel file.
The Ring programming language version 1.5.3 book - Part 44 of 184Mahmoud Samir Fayed
This document provides code examples for classes used in a web application framework in Ring. It includes the Database, ModelBase, and ControllerBase classes which handle database connectivity and operations. It also includes an overview of the WebLib API which provides functions and classes for generating HTML pages and elements. Some key classes described are Page, Form, Table, and classes to generate specific HTML elements like Div, Link, Image etc.
The Ring programming language version 1.8 book - Part 50 of 202Mahmoud Samir Fayed
The Page class contains methods for generating HTML elements and adding content to web pages. It includes methods for common elements like headings, paragraphs, links, forms, tables, and more. Each method accepts a parameter that allows setting attributes of the element through a list. This allows generating HTML elements with customized attributes in a simple way.
BDD - Behavior Driven Development Webapps mit Groovy Spock und GebChristian Baranowski
The document discusses Behavior Driven Development (BDD) using Groovy, Spock and Geb. It provides an overview of BDD and defines the given-when-then structure. It then demonstrates various Groovy and Spock features for writing BDD tests including classes, methods, collections, closures, assertions and mock objects. Spock allows writing tests in a readable and expressive manner with support for parameterization and different test lifecycle methods.
The Ring programming language version 1.4.1 book - Part 13 of 31Mahmoud Samir Fayed
This document provides documentation on Ring's web library API for generating HTML pages and elements. It describes classes and methods for creating pages, adding content and attributes, handling forms, and more. The Page class allows adding various HTML elements to the page content through methods like text(), html(), h1(), etc. The Application class contains methods for encoding, cookies, and page structure. WebLib enables generating complete HTML pages in Ring code.
The Ring programming language version 1.5 book - Part 8 of 31Mahmoud Samir Fayed
This document summarizes key classes and methods from the Ring web library (weblib.ring).
The Application class contains methods for encoding, decoding, cookies, and more. The Page class contains methods for generating common HTML elements and structures. Model classes like UsersModel manage data access and object relational mapping. Controller classes handle requests and coordinate the view and model.
The Ring programming language version 1.7 book - Part 48 of 196Mahmoud Samir Fayed
This document provides code examples and documentation for Ring's web library (weblib.ring). It describes classes and methods for generating HTML pages, forms, tables and other elements. This includes the Page class for adding common elements like text, headings, paragraphs etc., the Application class for handling requests, cookies and encoding, and classes representing various HTML elements like forms, inputs, images etc. It also provides an overview of how to create pages dynamically using View and Controller classes along with Model classes for database access.
The Ring programming language version 1.7 book - Part 47 of 196Mahmoud Samir Fayed
The document provides documentation for the Ring programming language. It discusses using the Bootstrap library in Ring to generate HTML pages using objects. Examples are given to create a Bootstrap page with different styled buttons, button groups, and a modal popup. It also provides an example of a CRUD (create, read, update, delete) application using MVC (model-view-controller) pattern with Ring's datalibrary. Finally, it discusses implementing a user registration and login system with password hashing and session handling.
The Ring programming language version 1.5.3 book - Part 44 of 184Mahmoud Samir Fayed
This document provides code examples for classes used in a web application framework in Ring. It includes the Database, ModelBase, and ControllerBase classes which handle database connectivity and operations. It also includes an overview of the WebLib API which provides functions and classes for generating HTML pages and elements. Some key classes described are Page, Form, Table, and classes to generate specific HTML elements like Div, Link, Image etc.
The Ring programming language version 1.8 book - Part 50 of 202Mahmoud Samir Fayed
The Page class contains methods for generating HTML elements and adding content to web pages. It includes methods for common elements like headings, paragraphs, links, forms, tables, and more. Each method accepts a parameter that allows setting attributes of the element through a list. This allows generating HTML elements with customized attributes in a simple way.
BDD - Behavior Driven Development Webapps mit Groovy Spock und GebChristian Baranowski
The document discusses Behavior Driven Development (BDD) using Groovy, Spock and Geb. It provides an overview of BDD and defines the given-when-then structure. It then demonstrates various Groovy and Spock features for writing BDD tests including classes, methods, collections, closures, assertions and mock objects. Spock allows writing tests in a readable and expressive manner with support for parameterization and different test lifecycle methods.
The Ring programming language version 1.4.1 book - Part 13 of 31Mahmoud Samir Fayed
This document provides documentation on Ring's web library API for generating HTML pages and elements. It describes classes and methods for creating pages, adding content and attributes, handling forms, and more. The Page class allows adding various HTML elements to the page content through methods like text(), html(), h1(), etc. The Application class contains methods for encoding, cookies, and page structure. WebLib enables generating complete HTML pages in Ring code.
The Ring programming language version 1.5 book - Part 8 of 31Mahmoud Samir Fayed
This document summarizes key classes and methods from the Ring web library (weblib.ring).
The Application class contains methods for encoding, decoding, cookies, and more. The Page class contains methods for generating common HTML elements and structures. Model classes like UsersModel manage data access and object relational mapping. Controller classes handle requests and coordinate the view and model.
The Ring programming language version 1.7 book - Part 48 of 196Mahmoud Samir Fayed
This document provides code examples and documentation for Ring's web library (weblib.ring). It describes classes and methods for generating HTML pages, forms, tables and other elements. This includes the Page class for adding common elements like text, headings, paragraphs etc., the Application class for handling requests, cookies and encoding, and classes representing various HTML elements like forms, inputs, images etc. It also provides an overview of how to create pages dynamically using View and Controller classes along with Model classes for database access.
The Ring programming language version 1.7 book - Part 47 of 196Mahmoud Samir Fayed
The document provides documentation for the Ring programming language. It discusses using the Bootstrap library in Ring to generate HTML pages using objects. Examples are given to create a Bootstrap page with different styled buttons, button groups, and a modal popup. It also provides an example of a CRUD (create, read, update, delete) application using MVC (model-view-controller) pattern with Ring's datalibrary. Finally, it discusses implementing a user registration and login system with password hashing and session handling.
The document summarizes ActiveRecord query methods in Ruby on Rails. It discusses finder methods like where, select, group, order, limit, and offset for retrieving single or multiple records. It also covers retrieving objects in batches, conditions like string, array, and hash conditions, ordering, selecting specific attributes, limiting, grouping, having, and overriding conditions.
This document provides code examples for performing common HBase operations like creating and managing tables, inserting and retrieving records, and scanning data. It includes methods for creating tables, adding and dropping column families, inserting and deleting records, getting single records and scanning multiple records. Filtering scans by column values is also demonstrated through the use of a custom filter class.
The Ring programming language version 1.4 book - Part 18 of 30Mahmoud Samir Fayed
This document provides code for a simple notepad application created using the Ring programming language and Qt GUI library. The application allows users to open, edit, save, print, find/replace, and run Ring code files. It includes menus, toolbars, and buttons for common editing functions and uses classes like QTextEdit, QFile, and QPrinter. The application stores settings for the active file name, text colors, font, and handles events for opening, saving, printing and running files.
Reviews examples of details on how to pass data to a stored procedure and how to return data from a stored procedure. Further shows how to pass status or debugging messages from stored procedure, including message localization.
The document discusses testing HTTP request handlers in Go. It provides examples of testing an HTTP handler function using httptest, testing code that makes outgoing HTTP requests using a mocking library called gock, and injecting dependencies like the system clock for consistent test results. The examples demonstrate best practices for testing HTTP request handling in Go like using interfaces and dependency injection.
Building Real Time Systems on MongoDB Using the Oplog at StripeMongoDB
The document discusses MongoDB and its oplog feature. It begins with an introduction to the oplog and how it allows data to be replicated from a primary MongoDB node to secondary nodes. It then provides examples of how the oplog can be used for real-time event processing and data transformations from MongoDB to other databases like PostgreSQL. Disaster recovery using the oplog is also discussed.
The document discusses the tools Spock and Geb for testing in Groovy. It provides arguments for why to use Spock, describes the Given-When-Then structure in Spock tests, and covers Spock blocks, lifecycles, mocking, and the four phases of testing.
This document discusses ActiveRecord and various querying methods in Rails such as finding single and multiple records, adding conditions to queries, joining tables, and more. It provides code examples for methods like find, where, select, joins, and others. It also covers topics like readonly records, locking, overriding conditions, and joining with associations.
The Ring programming language version 1.8 book - Part 49 of 202Mahmoud Samir Fayed
The document provides code examples of using Bootstrap classes and components to create buttons and modal dialog boxes in HTML. It defines CSS classes for different columns, button groups, and modal elements. Buttons are created with classname, text, and other attributes. The modal dialog box contains header, body, and footer sections with close buttons and content text. Screenshots are included of the rendered output.
The Ring programming language version 1.3 book - Part 50 of 88Mahmoud Samir Fayed
This document describes a simple notepad application created using RingQt. The application contains buttons for common editing functions like new, open, save, cut, copy, paste. It allows setting the font, text color, and background color. The application initializes default values for the active file name, text/background colors, font, and contains a search feature to find and replace text.
The Ring programming language version 1.5.1 book - Part 35 of 180Mahmoud Samir Fayed
The document provides documentation on classes in the Ring programming language standard library, including the Math, DateTime, File, System, Debug, DataType, Conversion, and ODBC classes. It lists the main methods of each class and provides short examples and sample outputs of using each method.
The Ring programming language version 1.5.3 book - Part 77 of 184Mahmoud Samir Fayed
The document describes a simple notepad application developed using RingQt. It initializes variables to store the active file name, text and background colors, font, and other settings. It creates a main window with buttons to handle common file operations like new, open, save, cut, copy, paste. It also includes buttons to change the font and text color. The application executes a Qt event loop to handle user interface events.
Spicy javascript: Create your first Chrome extension for web analytics QAAlban Gérôme
Adobe Launch has a monitoring hooks API that provides more details about the rules that passed or failed. That's a great excuse for writing a Chrome extension. This will benefit you even if you have no need or experience with Adobe Launch.
The Ring programming language version 1.7 book - Part 73 of 196Mahmoud Samir Fayed
This document describes the code for a basic notepad application created using the Ring programming language and Qt GUI library. It defines functions for opening, saving, and creating new files. It also implements search/replace, font selection, and color settings. The main window contains dockable panels for files, source code, and a web browser. The application loads previous settings and allows opening, editing, and saving text files.
The Ring programming language version 1.10 book - Part 94 of 212Mahmoud Samir Fayed
The document describes the Trace Library in Ring and how it can be used to trace program execution, debug code, and step through a program line by line. It provides examples of loading the Trace Library, tracing all events, tracing control flow between functions, and using the pass error functionality to continue execution after an error. Key functions and capabilities of the Trace Library discussed include tracing specific events, setting breakpoints, accessing trace data, and redefining see and give behavior.
The Ring programming language version 1.8 book - Part 75 of 202Mahmoud Samir Fayed
This document describes the code for a basic notepad application created using the Ring programming language. It defines functions for opening, saving, and editing text files. The application features a menu bar, toolbars, dockable panels for a file tree and text editor, and basic text editing functionality like font selection, find/replace, and print.
The Ring programming language version 1.6 book - Part 38 of 189Mahmoud Samir Fayed
This document summarizes the key classes in the Ring programming language including the String, List, Stack, Queue, HashTable, Tree, and Math classes. For each class, it provides an overview of the parent class and core methods, followed by examples of using each method on instances of the classes. It demonstrates initializing class instances, accessing and modifying values, and performing common operations like adding/removing items, sorting, and mathematical functions.
Tips and Tricks of Developing .NET ApplicationJoni
This document provides tips and best practices for developing .NET applications. It covers general best practices such as optimization of loops, proper object disposal, and avoiding unnecessary object instantiation. It also includes ASP.NET specific tips like disabling viewstate if not used and avoiding unnecessary round trips to the server. Windows Forms tips involve using multithreading properly and marshaling method calls to the correct thread. The document recommends using existing libraries and not reinventing functionality unnecessarily.
The document discusses .NET data providers and their use in accessing data sources. It describes the core classes used in .NET data providers like SqlConnection, SqlCommand, SqlDataAdapter, and SqlParameter. Examples are provided for executing queries, stored procedures, and transactions using ADO.NET and the SQL Server data provider. Following best practices with data providers is emphasized for scalable enterprise application development.
Este documento propone el uso de recursos educativos abiertos para motivar a los docentes de primaria a mejorar la expresión escrita de sus estudiantes. Describe la necesidad de que los docentes desarrollen habilidades de lectura y escritura para enseñar de manera efectiva. Recomienda que los docentes revisen trabajos de investigación en bases de datos y publiquen reseñas sobre estos en un foro para practicar y mejorar sus propias habilidades de producción escrita.
The document summarizes ActiveRecord query methods in Ruby on Rails. It discusses finder methods like where, select, group, order, limit, and offset for retrieving single or multiple records. It also covers retrieving objects in batches, conditions like string, array, and hash conditions, ordering, selecting specific attributes, limiting, grouping, having, and overriding conditions.
This document provides code examples for performing common HBase operations like creating and managing tables, inserting and retrieving records, and scanning data. It includes methods for creating tables, adding and dropping column families, inserting and deleting records, getting single records and scanning multiple records. Filtering scans by column values is also demonstrated through the use of a custom filter class.
The Ring programming language version 1.4 book - Part 18 of 30Mahmoud Samir Fayed
This document provides code for a simple notepad application created using the Ring programming language and Qt GUI library. The application allows users to open, edit, save, print, find/replace, and run Ring code files. It includes menus, toolbars, and buttons for common editing functions and uses classes like QTextEdit, QFile, and QPrinter. The application stores settings for the active file name, text colors, font, and handles events for opening, saving, printing and running files.
Reviews examples of details on how to pass data to a stored procedure and how to return data from a stored procedure. Further shows how to pass status or debugging messages from stored procedure, including message localization.
The document discusses testing HTTP request handlers in Go. It provides examples of testing an HTTP handler function using httptest, testing code that makes outgoing HTTP requests using a mocking library called gock, and injecting dependencies like the system clock for consistent test results. The examples demonstrate best practices for testing HTTP request handling in Go like using interfaces and dependency injection.
Building Real Time Systems on MongoDB Using the Oplog at StripeMongoDB
The document discusses MongoDB and its oplog feature. It begins with an introduction to the oplog and how it allows data to be replicated from a primary MongoDB node to secondary nodes. It then provides examples of how the oplog can be used for real-time event processing and data transformations from MongoDB to other databases like PostgreSQL. Disaster recovery using the oplog is also discussed.
The document discusses the tools Spock and Geb for testing in Groovy. It provides arguments for why to use Spock, describes the Given-When-Then structure in Spock tests, and covers Spock blocks, lifecycles, mocking, and the four phases of testing.
This document discusses ActiveRecord and various querying methods in Rails such as finding single and multiple records, adding conditions to queries, joining tables, and more. It provides code examples for methods like find, where, select, joins, and others. It also covers topics like readonly records, locking, overriding conditions, and joining with associations.
The Ring programming language version 1.8 book - Part 49 of 202Mahmoud Samir Fayed
The document provides code examples of using Bootstrap classes and components to create buttons and modal dialog boxes in HTML. It defines CSS classes for different columns, button groups, and modal elements. Buttons are created with classname, text, and other attributes. The modal dialog box contains header, body, and footer sections with close buttons and content text. Screenshots are included of the rendered output.
The Ring programming language version 1.3 book - Part 50 of 88Mahmoud Samir Fayed
This document describes a simple notepad application created using RingQt. The application contains buttons for common editing functions like new, open, save, cut, copy, paste. It allows setting the font, text color, and background color. The application initializes default values for the active file name, text/background colors, font, and contains a search feature to find and replace text.
The Ring programming language version 1.5.1 book - Part 35 of 180Mahmoud Samir Fayed
The document provides documentation on classes in the Ring programming language standard library, including the Math, DateTime, File, System, Debug, DataType, Conversion, and ODBC classes. It lists the main methods of each class and provides short examples and sample outputs of using each method.
The Ring programming language version 1.5.3 book - Part 77 of 184Mahmoud Samir Fayed
The document describes a simple notepad application developed using RingQt. It initializes variables to store the active file name, text and background colors, font, and other settings. It creates a main window with buttons to handle common file operations like new, open, save, cut, copy, paste. It also includes buttons to change the font and text color. The application executes a Qt event loop to handle user interface events.
Spicy javascript: Create your first Chrome extension for web analytics QAAlban Gérôme
Adobe Launch has a monitoring hooks API that provides more details about the rules that passed or failed. That's a great excuse for writing a Chrome extension. This will benefit you even if you have no need or experience with Adobe Launch.
The Ring programming language version 1.7 book - Part 73 of 196Mahmoud Samir Fayed
This document describes the code for a basic notepad application created using the Ring programming language and Qt GUI library. It defines functions for opening, saving, and creating new files. It also implements search/replace, font selection, and color settings. The main window contains dockable panels for files, source code, and a web browser. The application loads previous settings and allows opening, editing, and saving text files.
The Ring programming language version 1.10 book - Part 94 of 212Mahmoud Samir Fayed
The document describes the Trace Library in Ring and how it can be used to trace program execution, debug code, and step through a program line by line. It provides examples of loading the Trace Library, tracing all events, tracing control flow between functions, and using the pass error functionality to continue execution after an error. Key functions and capabilities of the Trace Library discussed include tracing specific events, setting breakpoints, accessing trace data, and redefining see and give behavior.
The Ring programming language version 1.8 book - Part 75 of 202Mahmoud Samir Fayed
This document describes the code for a basic notepad application created using the Ring programming language. It defines functions for opening, saving, and editing text files. The application features a menu bar, toolbars, dockable panels for a file tree and text editor, and basic text editing functionality like font selection, find/replace, and print.
The Ring programming language version 1.6 book - Part 38 of 189Mahmoud Samir Fayed
This document summarizes the key classes in the Ring programming language including the String, List, Stack, Queue, HashTable, Tree, and Math classes. For each class, it provides an overview of the parent class and core methods, followed by examples of using each method on instances of the classes. It demonstrates initializing class instances, accessing and modifying values, and performing common operations like adding/removing items, sorting, and mathematical functions.
Tips and Tricks of Developing .NET ApplicationJoni
This document provides tips and best practices for developing .NET applications. It covers general best practices such as optimization of loops, proper object disposal, and avoiding unnecessary object instantiation. It also includes ASP.NET specific tips like disabling viewstate if not used and avoiding unnecessary round trips to the server. Windows Forms tips involve using multithreading properly and marshaling method calls to the correct thread. The document recommends using existing libraries and not reinventing functionality unnecessarily.
The document discusses .NET data providers and their use in accessing data sources. It describes the core classes used in .NET data providers like SqlConnection, SqlCommand, SqlDataAdapter, and SqlParameter. Examples are provided for executing queries, stored procedures, and transactions using ADO.NET and the SQL Server data provider. Following best practices with data providers is emphasized for scalable enterprise application development.
Este documento propone el uso de recursos educativos abiertos para motivar a los docentes de primaria a mejorar la expresión escrita de sus estudiantes. Describe la necesidad de que los docentes desarrollen habilidades de lectura y escritura para enseñar de manera efectiva. Recomienda que los docentes revisen trabajos de investigación en bases de datos y publiquen reseñas sobre estos en un foro para practicar y mejorar sus propias habilidades de producción escrita.
This document contains repeated references to the website www.banksoalanspm.com across multiple lines without any other text or context provided. The document appears to solely consist of the repeated listing of this single website address multiple times.
Etching is a print-based media hand technique where designs are carved into metal plates using acid and needles, which softens the metal for carving. This process would have taken a lot of time historically when copying designs onto metal plates. Mistakes in etching would have been costly as metal plates were probably expensive.
Este documento presenta una lista de géneros para catalogar videograbaciones. Incluye géneros cinematográficos como cine de acción, cine de terror, cine documental y otros; así como audiovisuales como audiovisuales deportivos, audiovisuales de humor y audiovisuales didácticos. El documento proporciona ejemplos e información sobre cada género para facilitar su catalogación correcta.
This document provides real estate market statistics for Northern Virginia and surrounding areas in September 2010. It shows housing inventory levels, properties under contract, absorption rates, and year-over-year changes. Absorption rates increased across most areas from September 2009, indicating a seller's market with low inventory turning over quickly. Overall, inventory levels decreased, properties under contract decreased significantly, and absorption rates increased compared to the previous year.
The document discusses the benefits of exercise for mental health. Regular physical activity can help reduce anxiety and depression and improve mood and cognitive function. Exercise causes chemical changes in the brain that may help protect against mental illness and improve symptoms.
This document outlines a 3 step strategic plan to integrate and develop the Art, Media and Technology faculty at a school. The plan aims to 1) audit department strengths and opportunities for collaboration, 2) look for ways curriculum can support each other through shared skills and resources, and 3) collaborate with other faculties to develop teaching and learning across the school. The desired outcomes include increased collaboration between staff and departments, a wider range of course offerings, and improved student results and engagement through innovative teaching practices and use of technology.
This Halloween-themed document features illustrations of common Halloween symbols like pumpkins, witches, monsters, vampires, ghosts, mummies, bats, cemeteries and skeletons. It celebrates Halloween by showing multiple images of these costumes and decorations along with the phrases "This is Halloween" and "Happy Halloween" at the beginning and end.
The document discusses creativity and its opposite, cynicism. It argues that cynicism finds faults and doubts things will work out. To make an organization more creative, one should start small by recognizing "idea champions" and giving them resources to create real results from small projects. These seeds of positivity can then influence and grow others in the organization to be more creative.
This document provides guidance for a revision session on action and adventure films. It instructs students to spend time brainstorming conventions and technical terms for mise en scene, camera, editing, and sound. Students are told to practice note-taking by identifying conventions and examples in their notes, with abbreviations for efficiency. They are given timed practice sessions to hone their skills at concisely noting conventions, examples, and technical terms for the exam.
1. A digital signature certificate (DSC) is an electronic equivalent of a physical signature used to access information online, prove identity, or digitally sign documents.
2. DSCs are issued by licensed certifying authorities and are required to file any documents with the Ministry of Corporate Affairs portal.
3. While a Director Identification Number is not required to obtain a DSC, both are needed to file documents on the MCA portal. DSCs are valid for one or two years.
Communications is the study of how people convey messages through various means. A communications major prepares students for a wide range of careers in fields such as business, advertising, education, government, and technology by developing skills in areas like writing, critical thinking, relationship-building, and using technology to communicate effectively. Choosing a specific focus within communications, such as journalism, public relations, or media production, enhances students' chances of finding employment that matches their interests. Overall, a communications degree provides a versatile education applicable to many industries.
The Ring programming language version 1.5.3 book - Part 54 of 184Mahmoud Samir Fayed
The document discusses Ring code for database and web application classes and functions. It includes classes for Database, ModelBase, ControllerBase, and View classes. ModelBase handles database operations like insert, update, delete. ControllerBase handles routing and common functions. WebLib contains functions for loading variables, creating pages, encoding special characters, and templating.
The Ring programming language version 1.10 book - Part 54 of 212Mahmoud Samir Fayed
This document describes code related to user registration and login functionality in Ring. It includes code for a registration form, login form, user registration logic, login validation, and checking if a user is logged in. Database and model classes are also shown that handle connecting to the database, querying for users, and managing user data.
The Ring programming language version 1.2 book - Part 79 of 84Mahmoud Samir Fayed
The document discusses extending Ring by adding new classes and functions. It can be done by writing C/C++ code and compiling it into a DLL that can be loaded from Ring using LoadLib(). Functions defined in the DLL can then be called from Ring. Alternatively, RingQt classes can be extended by defining new classes that inherit from existing Qt classes. A code generator written in Ring is also presented that can automatically generate wrapper code to interface with external C/C++ libraries from Ring.
This document contains code for an inventory management system. It includes modules for connecting to a database, handling user login and permissions, and inputting/managing product data. The login module verifies user credentials and sets permission levels. The product input module provides functions for inserting, updating, deleting and searching for product records in the database. It initializes forms and controls for data entry and management.
This document contains code for an inventory management system. It includes modules for connecting to a database, handling user login and permissions, and inputting/managing product data. The login module verifies user credentials and sets permission levels. The product input module provides functions for inserting, updating, deleting and searching for product records in the database. It establishes the database connection and uses SQL commands to manage the data.
This document discusses integrating the JRebel plugin with NetBeans by patching NetBeans platform classes at load time. Specifically, it covers adding buttons, menus, and options to NetBeans, integrating with the NetBeans debugger and server adaptors, and programmatically patching NetBeans classes using Javassist to inject JRebel JVM arguments into the server launch process.
The Python DB-API standard supports connecting to and interacting with many database servers like MySQL, PostgreSQL, and Oracle. To access a database, a Python module like MySQLdb must be installed. Code examples demonstrate how to connect to a MySQL database, create tables, insert/update/delete records, and handle errors according to the DB-API. Transactions ensure data integrity using atomicity, consistency, isolation, and durability properties.
This document provides an overview of common string, data structure, file, operating system, security, XML, SQL, and web service operations in PowerShell. It discusses how to work with strings, arrays, dictionaries, hashtables, files, environment variables, events, services, WMI, encryption, XML processing, SQL queries and transactions, sending emails, downloading files from URLs, and using proxies. The document is a helpful reference for many PowerShell tasks.
The document discusses code quality analysis tools in Visual Studio 2012, including code analysis, code metrics, code clone analysis, code coverage, and unit testing. It provides examples of code issues found by code analysis tools and how to resolve them, such as fixing spelling errors, removing exceptions, using parameterized queries to prevent SQL injection, and improving code structure and maintainability.
The Ring programming language version 1.3 book - Part 30 of 88Mahmoud Samir Fayed
The document discusses using the Ring programming language to develop web applications through CGI (Common Gateway Interface). It covers configuring the Apache web server to support Ring CGI files, writing a basic "Hello World" CGI program in Ring, and using the Ring Web Library to simplify CGI development. Examples are provided that demonstrate generating HTML forms and handling HTTP GET requests to retrieve submitted form data. The Web Library features templates, file uploads, and MVC patterns to help structure full-featured web applications in Ring.
The Ring programming language version 1.9 book - Part 53 of 210Mahmoud Samir Fayed
This document provides code examples and documentation for Ring's web application framework. It includes code for user authentication using a database, classes for database access and web controllers, and descriptions of the main classes and methods in the WebLib API for generating HTML pages and handling requests. The document covers key concepts like generating pages dynamically based on request parameters, working with databases using Model classes, and common tasks like cookies, file uploads, and URL encoding.
This document contains a VBScript function that opens a connection to an Access database, executes an SQL statement to retrieve a recordset, and returns the recordset. The function takes in the filename of the Access database and an SQL statement as parameters. It opens an ADODB connection to the database, executes the SQL to get a recordset, disconnects the recordset from the connection, and returns the recordset.
Here are some suggestions to improve the test method name:
- shouldReturnNullWhenQueryReturnsNull
- shouldPassNullFromDaoWhenQueryReturnsNull
Using "should" makes the intent clearer - we expect the method to return null under certain conditions. Describing those conditions ("when query returns null") in the name provides more context than a generic "testQuery".
Overall, test method names should clearly communicate what is being tested and under what conditions we expect the test to pass or fail. This helps readers understand the purpose and focus of each test.
This document provides an overview of connecting to and interacting with a CSQL database using JDBC. It discusses loading the JDBC driver, establishing a connection, and executing SQL statements like CREATE, INSERT, UPDATE, DELETE, and DROP using Statement and PreparedStatement objects. Example code is provided to demonstrate connecting to CSQL and performing common SQL operations through JDBC.
The document discusses best practices for writing tests and test methods. Some key points:
1. Test method names should start with "should" to indicate the expected behavior, rather than just "test". Examples given are "shouldRejectInvalidRequests()" and "shouldSaveNewUserToDatabase()".
2. Tests should focus on testing one feature or behavior at a time. The example given is splitting a test into two separate tests - one for redirection on registration success and one for user notification.
3. Tests should be readable and understandable. Examples given are using descriptive variable names like ADMIN, LOGGED, GUEST rather than "user_1", and avoiding unnecessary details like "new URL(SERVER_
The Ring programming language version 1.10 book - Part 47 of 212Mahmoud Samir Fayed
This document summarizes the methods available in various Ring classes for data types, conversions, databases, security, and internet functions. It provides examples of using each class and the output. The DataType class allows checking value types and properties. The Conversion class converts between data types. Database classes like ODBC, MySQL, SQLite and PostgreSQL provide methods for connecting to databases and executing queries. The Security class implements hashing and encryption algorithms. The Internet class allows downloading files and sending emails.
You already know TDD, your code coverage is almost at 80%, jUnit has no secret for you? But you feel that you could do more with your tests, the tools you use have limitations. Or maybe you're just tired of assertEquals?
Don't panic! We will see how you can code tests. We will look upon:
- Mutation Testing
- BDD, Behaviour Driven Development
- Property Testing
The document contains code for a form that allows users to filter and display data from a database table. It defines several methods that query the database based on different radio button selections to list apprentices by last name, first name, names starting with A, city, or gender. The query results are loaded into a dataset and bound to a datagridview control for display.
The document contains code for a form that allows users to filter and display data from a database table. It defines several methods that query the database based on different radio button selections to list apprentices by last name, first name, names starting with A, city, or gender. The queries return data to populate a data grid view for viewing the filtered results.
This document introduces MongoDB, an open-source document database. It describes MongoDB as schema-less, highly scalable, and capable of replication and auto-sharding. Key features include storing data as JSON documents, a familiar database and collection structure, easy insertion and querying of documents, and aggregation of data using map-reduce functions. The document encourages readers to try MongoDB themselves by downloading it or exploring online tutorials.
Similar to Adodb Scripts And Some Sample Scripts[1] (20)
1. Option explicit
Dim comobj, conobj
Set conobj=createobject("ADODB.Connection")
conobj.open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:Documents
and SettingsSai SarvaniDesktopsample.mdb" Set
comobj=createobject ("ADODB.Command")
comobj.activeconnection = conobj
comobj.commandtext = "Insert into emp values ('Appa Rao', 101, 10000)"
comobj.execute
conobj.close
Set comobj = nothing
Set conobj = nothing
How to set multiple records into database table by taking the data from Excel file
Option explicit
Dim comobj,conobj,rcount,i,ename,eno,esal
Set conobj=createobject("ADODB.Connection")
conobj.open "PRovider=Microsoft.jet.oledb.4.0;
data Source = C:Documents and SettingsSai SarvaniDesktopsample.mdb"
Set comobj=createobject("ADODB.Command")
comobj.activeconnection=conobj
datatable.AddSheet ("data")
datatable.ImportSheet "C:Documents and SettingsSai SarvaniDesktop
testdata.xls",1,"data"
rcount=datatable.GetSheet("data").getrowcount For
i=1 to rcount step 1
2. datatable.SetCurrentRow (i)
ename=datatable.Value (1, "data")
eno=datatable.Value (2, "data")
esal=datatable.Value (3, "data")
comobj.commandtext = "insert into emp values ('"&ename&"', "&eno&", "&esal&")"
comobj.execute
Next conobj.close
Set conobj=Nothing
SetComobj=nothing
How to get data from database table?
Option explicit Dim conobj,rsobj,username,password
Set conobj=createobject("ADODB.connection")
conobj.open "PRovider=Microsoft.jet.oledb.4.0;
data Source = C:Documents and SettingsSai SarvaniDesktopsample.mdb"
Set rsobj=Createobject("ADODB.recordset")
rsobj.open "select * from login", conobj
rsobj.movefirst
While not rsobj.eof
username=rsobj("uid")
password=rsobj("pwd")
SystemUtil.Run "C:Program FilesMercury InteractiveQuickTest
Professionalsamplesflightappflight4a.exe"
Dialog("Login").WinEdit("Agent Name:").Set username
Dialog("Login").WinEdit("Password:").SetSecure crypt.Encrypt (password)
Dialog("Login").WinButton("OK").Click
If window("Flight Reservation").Exist Then
reporter.ReportEvent micPass, "Login success", "Test is Pass" Window("Flight
3. Reservation").WinMenu("Menu").Select "File;Exit"
else
reporter.ReportEvent micFail, "Login Fail", "Test is fail"
Dialog("Login").Dialog("Flight Reservations").WinButton("OK").Click
Dialog("Login").WinButton("Cancel").Click
End If
rsobj.movenext
Wend
rsobj.close
conobj.close
Set rsobj=nothing
Set Conobj=nothing
QTP- Execute the bat file , dos command from QTP
dim appset app=createobject("wscript.shell")
SystemUtil.run "cmd.exe"
app.sendkeys "cd C:Documents and Settings'<>"
app.sendkeys "~"
app.sendkeys "MyDosFile.bat"
app.sendkeys "~" app.sendkeys "~"
wait(5)
'In bat file you can give and save
Date
echo "hello World"
pause
‘*****************************************************************************
****
QTP/QC - Schedule the testset in QC by VBS
'User must Admin at the machine where he want to run the testset
'This can run manual as well as Automated test suite
' It can be schedule at any partcular future time
' User need not to open the QC
Public Sub RunTestSet(otdc,tsFolderName,tSetName,HostName,runWhere)
4. Dim TSetFact, tsList
Dim theTestSet
Dim tsTreeMgr
Dim tsFolder
Dim Scheduler
Dim nPath
Dim execStatus
' Get the test set tree manager from the test set factory
'tdc is the global TDConnection object.
Set TSetFact = otdc.TestSetFactory
Set tsTreeMgr = otdc.TestSetTreeManager
' Get the test set folder passed as an argument to the example code
nPath = "Root" & Trim(tsFolderName)
Set tsFolder = tsTreeMgr.NodeByPath(nPath)
If tsFolder Is Nothing Then
err.Raise vbObjectError + 1, "RunTestSet", "Could not find folder " & nPath
End If
' Search for the test set passed as an argument to the example code
Set tsList = tsFolder.FindTestSets(tSetName)
If tsList Is Nothing Then
err.Raise vbObjectError + 1, "RunTestSet", "Could not find test set in the " & nPath
End If
If tsList.Count > 1 Then
MsgBox "FindTestSets found more than one test set: refine search"
Exit Sub
ElseIf tsList.Count < 1 Then
MsgBox "FindTestSets: test set not found"
Exit Sub
End If
Set theTestSet = tsList.Item(1)
Debug.Print theTestSet.ID
'Start the scheduler on the local machine
Set Scheduler = theTestSet.StartExecution(HostName)
'msgbox "pass"
'Set up for the run depending on where the test instances
' are to execute.
Select Case runWhere
5. Case "RUN_LOCAL"
'Run all tests on the local machine
Scheduler.RunAllLocally = True
Case "RUN_REMOTE"
'Set Scheduler = theTestSet.StartExecution(HostName)
'Run tests on a specified remote machine
Scheduler.TdHostName = HostName
'Scheduler.TdHostName=runWhere
' RunAllLocally must not be set for
' remote invocation of tests.
' Do not do this:
' Scheduler.RunAllLocally = False
Case "RUN_PLANNED_HOST"
'Run on the hosts as planned in the test set
Dim TSTestFact, TestList
Dim tsFilter
Dim TSTst
'Get the test instances from the test set
Set TSTestFact = theTestSet.TSTestFactory
Set tsFilter = TSTestFact.Filter
tsFilter.Filter("TC_CYCLE_ID") = theTestSet.ID
Set TestList = TSTestFact.NewList(tsFilter.Text)
Scheduler.RunAllLocally = False
End Select
'Run the tests
Scheduler.run
Set execStatus = Scheduler.ExecutionStatus
While (RunFinished = False)
execStatus.RefreshExecStatusInfo "all", True
RunFinished = execStatus.Finished
Wend
End Sub
'================================
Const qcHostName = "GiveQChost:8080"
Const qcDomain = "GiveDomain name"
Const qcProject = "GiveProject" 'Please define here the name of the project
Const qcUser = "User ID" 'Please define here the username
Const qcPassword = "Give Password HGBGH%3&42" 'Please define here the password
Dim tdc
Dim qcServer
6. Dim objArgs
Dim strArg
Dim strTestSet
Dim bRunCode
'======GETTING ARGUMENTS==============
set objArgs = WScript.Arguments
If WScript.Arguments.Count<1>2 Then
WScript.Echo "Remote_Scheduler"
bRunCode = False
Else
For Each strArg in objArgs
WScript.Echo strArg&" is starting…"
strTestSet = strArg
bRunCode = True
Next
End If
'===========================================================
If bRunCode Then
qcServer = "http://" & qcHostName
qcServer = qcServer & "/qcbin"
Set tdc = CreateObject("tdapiole80.tdconnection")
If (tdc Is Nothing) Then
MsgBox "tdc object is empty"
End If
tdc.InitConnectionEx qcServer
tdc.Login qcUser, qcPassword
tdc.Connect qcDomain, qcProject
RunTestSet tdc, "GiveFolder Name of Test Set","GiveTestSet name ","Givemachinename",
"RUN_REMOTE"
'Disconnect from the project
If tdc.Connected Then
tdc.Disconnect
End If
'Log off the server
If tdc.LoggedIn Then
tdc.Logout
End If
'Release the TDConnection object.
tdc.ReleaseConnection
'"Check status (For illustrative purposes.)
7. Set tdc = Nothing
End IF
‘*****************************************************************************
********************************
QTP/QC - Running bat file from QC
Povide the bat file 'Driverbat.bat' remove ' sign and put bat under folder C:QTP_Resource.
'cd C:QTP_Resource
'DriverScript_QTP
'C:QTP_ResourceUtility2.exe auto some other utility
'Exit
In QC > Create a VAPI-XP test > in test script put the code
Dim objShell
Set objShell = CreateObject("WScript.Shell")
'objShell.Run "CMD.exe"
objShell .Run "%comspec% /k c: & cd C:QTP_Resource Driverbat.bat"
BR>
'objShell.Run "%comspec% /k c: & cd C:QTP_ResourceDriverbat.bat"
BR>
'qtAppWin.sendkeys "~"
‘*****************************************************************************
******************************************************************************
******************************************************************************
*******
'Get all the items from FlyFrom Combobox and set into textfile
Dim objTxt, objFile,Items_Count,i
Set objTxt=CreateObject("Scripting.Filesystemobject")
objTxt.CreateFolder ("D:Flight_Items")
set objFile=objTxt.CreateTextFile("D:Flight_ItemsList_Items.txt")
Items_Count = Window("Flight Reservation").WinComboBox("Fly From:").GetItemsCount()
For i=0 to Items_Count-1 step 1
8. objFile.WriteLine Window("Flight Reservation").WinComboBox("Fly From:").GetItem(i)
Next
objFile.Close
Set objTxt=Nothing
'*****************************************************************************
***************************************
'How to set data from file into another text file
Dim objTxt,objFile1,objFile2,arr,i,x
Set objTxt=Createobject("Scripting.Filesystemobject")
set objFile1=objTxt.OpenTextFile("D:abc.txt",1)
Set objFile2=objTxt.OpenTextFile("D:abcd.txt",2)
While not objFile1.AtEndOfStream
x=objFile1.ReadLine
arr=split(x," ")
For i=0 to Ubound(arr)
objFile2.WriteLine arr(i)
Next
Wend
objFile1.Close
objFile2.Close
Set objTxt=Nothing
'***************************************************************************
9. ' How to set data from one text file into another text file as peramid(
'1
'12
'123
'1234
'*****************************************************************************
******
'Working with text file
FirstfilePath="D:abc.txt"
SecondfilePath="D:abcd.txt"
Set ObjText = CreateObject("Scripting.FileSystemObject")
Set File1=ObjText.OpenTextFile(FirstfilePath,1)
Set File2=ObjText.OpenTextFile(SecondfilePath,2)
'Getting data from first file path which is in vertical
While not File1.AtEndOfStream
'To get the line
x=File1.ReadLine
s=s&x
File2.WriteLine s
Wend
'*****************************************************************************
********
' How to close all the browsers
Set objDesc=Description.Create
10. objDesc("micclass").value="Browser"
set objBr=Desktop.ChildObjects(objDesc)
'msgbox objBr.count
For i=0 to objBr.count-1 step 1
objBr(i).close
Next
'***************************************************************************
' How to close all the browsers except our specified browser
Set objDesc=Description.Create
objDesc("micclass").value="Browser"
set objBr=Desktop.ChildObjects(objDesc)
'msgbox objBr.count
For i=0 to objBr.count-1 step 1
BrName=objBr(i).GetRoProperty("name")
If BrName <> "Real Estate Listings, Homes for Sale and Rental Property
Listings – REALTOR.com®" Then
objBr(i).close
End If
Next
'***************************************************************************
' How to delete specified mails from the INBOX
11. Dim RowCount,i,StrData,objCi
RowCount = Browser("Gmail - Inbox (537) -").Page("Gmail - Inbox (537)
-").Frame("c1ds2cindlqxf2").WebTable("HDFC BANK").RowCount()
msgbox RowCount
For i=1 to RowCount step 1
StrData = Browser("Gmail - Inbox (537) -").Page("Gmail - Inbox (537)
-").Frame("c1ds2cindlqxf2").WebTable("HDFC BANK").GetCellData(i, 3)
If StrData="NageshQTP" Then
set objCi=Browser("Gmail - Inbox (537) -").Page("Gmail - Inbox (537)
-").Frame("c1ds2cindlqxf2").WebTable("HDFC BANK").ChildItem (i,1,"WebCheckBox",0)
objCi.set "ON"
End If
Next
'*****************************************************************************
******************************************************************************
*****************************
'Prepare descriptive programming for login functionality"
Set objDia=Description.Create
objDia.Add "text","Login"
objDia.Add "window id","0"
Set objUid=Description.Create
objUid.Add "attached text","Agent Name:"
Set objPwd=Description.Create
objPwd.Add "attached text","Password:"
12. Set objBut=Description.Create
objBut.Add "text","OK"
Dialog(objDia).Activate
Dialog(objDia).winedit(objUid).Set "nagesh"
Dialog(objDia).winedit(objPwd).Set "mercury"
Dialog(objDia).winbutton(objBut).Click
'****************************************************
'Prepare descriptive programming for gmail login 2nd method --B
Set objBr= Description.Create
objBr.Add "name","Gmail: Email from Google"
Set objpage= Description.Create
objpage.Add "title", "Gmail: Email from Google"
Set objuid= Description.Create
objuid.Add "name","Email"
Set objpwd=Description.Create
objpwd.Add "name","Passwd"
Set objsgn=Description.Create
objsgn.Add "name","Sign in"
15. For i=0 to objColl.count-1 step 1
objShell.SendKeys "{DOWN}"
strName=objColl(i).getroproperty("innertext")
Reporter.ReportEvent micDone,"Google Search Item "&strName,"Item
captured"
Next
Set objDev=Nothing
Set objShell=Nothing
‘**********************************************************************
How to connect to sql server
Option Explicit
Dim objCon,objCom
Set objCon=Createobject("ADODB.connection")
objCon.Open "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial
Catalog=Testdata;Data Source=."
Set objCom=CreateObject("ADODB.command")
objCom.ActiveConnection=objCon
objCom.CommandText="Insert into EmpDetails values('Srinivas',102,1000)"
objCom.Execute
objCon.Close
Set objCom=Nothing
Set objCon=Nothing
16. ‘*************************************************************************
' Verify Login functionality with multiple UID;s and PWd's by passing data from excel
Option explicit
Dim intRowcount,i,strUid,strPwd
datatable.AddSheet("input")
datatable.ImportSheet "D:Login.xls",1,"input"
intRowcount=Datatable.GetSheet("input").GetRowCount
For i=1 to intRowcount step 1
datatable.SetCurrentRow(i)
strUid=Datatable.Value(1,"input")
strPwd=Datatable.Value(2,"input")
systemutil.Run "C:Program FilesHPQuickTest
Professionalsamplesflightappflight4a.exe"
Dialog("Login").Activate
Dialog("Login").WinEdit("Agent Name:").Set strUid
Dialog("Login").WinEdit("Password:").SetSecure crypt.Encrypt(strPwd)
Dialog("Login").WinButton("OK").Click
wait(7)
If Window("Flight Reservation").Exist Then
Reporter.ReportEvent micPass,"Login suc","Test is Pass"
Window("Flight Reservation").WinMenu("Menu").Select
"File;Exit"
Else
Reporter.ReportEvent micFail,"Login Unsuc","Test is Fail"
Dialog("Login").Dialog("Flight
Reservations").WinButton("OK").Click
Dialog("Login").WinButton("Cancel").Click
17. End if
Next
‘*****************************************************************
Examples on Functions(Web Applications)
‘****************************************************
' Functio Name:Clear_Cookies
'Function Descrition:It is used to clear the cookies
'Authour:=Nagesh
'Created:=09082010
'*****************************************************************************
*********************
Function Clear_Cookies()
Systemutil.Run "iexplore","www.realtor.com"
webutil.DeleteCookies
systemutil.CloseDescendentProcesses
End Function
'*********************************************************************
' Functio Name:Application_Launch
'Function Descrition:It is used to launch the application
'Authour:=Nagesh
'Created:=09082010
'*****************************************************************************
*********************
Function Application_Launch(strUrl)
18. systemutil.Run "iexplore",strUrl
If Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebElement("FIND HOMES").Exist Then
Reporter.ReportEvent micPass,"Step 1","Application Launched"
Application_Launch="Application Launched"
Else
Reporter.ReportEvent micFail,"Step 1","Application is not Launched"
Application_Launch="Application is not Launched"
End if
End Function
'***********************************************************
' Functio Name:Close_App()
'Function Descrition:It is used to close the application
'Authour:=Nagesh
'Created:=09082010
'*****************************************************************************
*********************
Function Close_App()
If Browser("Real Estate Listings,").Exist(10) Then
Browser("Real Estate Listings,").Close
Close_App="Application Closed"
Else
Close_App="Application not Closed"
End if
19. End Function
'*************************************************************
' Functio Name:SignUp
'Function Descrition:It is used to register the new user
'Authour:=Nagesh
'Created:=09082010
'*****************************************************************************
*********************
Function SignUp(strEmail,strPwd,strGen,strYOB)
If Browser("Real Estate Listings,").Page("Real Estate Listings,").Link("Sign Up").Exist(10) Then
Browser("Real Estate Listings,").Page("Real Estate Listings,").Link("Sign
Up").Click
Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebEdit("Email").Set strEmail
Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebEdit("Pwd").Set strPwd
Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebEdit("Cpwd").Set strPwd
Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebList("Gender").Select strGen
Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebEdit("YOB").Set strYOB
Browser("Real Estate Listings,").Page("Real Estate Listings,").WebElement("Sign
Up").Click
20. wait(5)
If Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebElement("innertext:=THANK YOU","index:=1").Exist Then
Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebElement("CLOSE").Click
End if
strMsg=Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebElement("Welcome").GetROProperty("innertext")
arr=split(strMsg,", ")
If instr(strEmail,arr(1))>0 Then
Reporter.ReportEvent micPass,"Step 1","SignedUp Successfull"
SignUp="SignedUp Successfull"
Else
Reporter.ReportEvent micFail,"Step 1","SignedUp Fail"
SignUp="SignedUp Fail"
End If
End If
End Function
'**********************************************************************
' Functio Name:SignOut
'Function Descrition:It is used to Signout from the application
'Authour:=Nagesh
'Created:=09082010
'*****************************************************************************
*********************
Function SignOut()
21. Browser("Real Estate Listings,").Page("Real Estate Listings,").Link("Sign Out").Click
If Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebElement("Welcome | Sign In | Sign").Exist Then
Reporter.ReportEvent micPass,"Step 1","SignOut SuccessFull"
SignOut="SignOut SuccessFull"
Else
Reporter.ReportEvent micPass,"Step 1","SignOut unSuccessFull"
SignOut="SignOut UnSuccessFull"
End If
End Function
'*************************************************************************
' Functio Name:SignIn
'Function Descrition:It is used to login to the application
'Authour:=Nagesh
'Created:=09082010
'*****************************************************************************
*********************
Function SignIn(strEmail,strPwd)
If Browser("Real Estate Listings,").Page("Real Estate Listings,").Link("Sign
In").Exist Then
Browser("Real Estate Listings,").Page("Real Estate
Listings,").Link("Sign In").Click
22. Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebEdit("EmailID").Set strEmail
Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebEdit("Password").Set strPwd
Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebElement("Sign In").Click
wait(4)
strMsg=Browser("Real Estate Listings,").Page("Real Estate
Listings,").WebElement("Welcome").GetROProperty("innertext")
arr=Split(strMsg,", ")
If instr(strEmail,arr(1))>0 Then
Reporter.ReportEvent micPass,"Step 1","SignIn
SuccessFull"
SignIn="SignIn SuccessFull"
Else
Reporter.ReportEvent micFail,"Step 1","SignIn
Unsucessfull"
SignIn="SignIn Unsucessfull"
End If
End If
End Function
'************************************************************************