Delphi Popup Window/Form - forms

I am new to Delphi and I am using RAD Studios XE8. I am developing a windows program that needs an options button. I am trying to create a form that when the button is hit, it opens the form. I am having trouble finding out how to do this or a tutorial online. Any insight would be helpful such as what I should google, or a link to a tutorial on how to do this or a walk-though video. I have a strong feeling that I may be using the wrong terminology as well. Any help would be nice.

Here is something to get you started:
Create a forms application (eg. with main form named Form1)
Create a second form (eg. with name Form2)
Create a button on first form in designer
Double click the button in the designer
IDE will open editor and create a handler for you - this is where you have to put the following code: Form2.Show();
Run and test
I would advise you try at least several tutorials like these before trying to write your own program:
Delphi for beginners: My First Delphi Program
Simple calculator tutorial

Related

GWT GUI testing

I have just started working on GWT as my company is using it. However the problem is , there is not much documentation or tutorial.
I have created a dummy app as given in GWT tutorial.
The app create a GUI like this. I am able to write test cases, for functional use case, but I am not sure how to test the GUI components. For e.g. If i press on add button , it should add a row to table, how can i write the test for this.
Note: I was tryin to do GWTMockito, but was unable to find any resource.
Any help would be really appreciated.

How to test WPF components using NUnit?

I am trying to test each components of my WPF application by using NUnit. But how to test the graphical components like button, grid, textblock, richtextbox etc?
Take a look at Teststack.White
.
Pretty easy to use:
Start application.
Attach app process.
Find Window by (SearchCriteria).
Get element you want to test by Window.Get(SearchCriteria)
Test whatever you want
Tutorial Link
Cheers

Auto form filling

I have a requirement like I need to fill an online form automatically. (Auto form filling).
Means I need to create an application in which clicking on the "Auto fill” button it will open the form in browser (form is another website page) and fill the data automatically.
The data (which may change each time) I will supply from my application. So first I thought of implementing the functionality using iMacro.
But later I realized I can’t call this imacro from an application if it is free version. So please suggest me some idea to achieve this functionality.
Thanks.
as far as i under stand your problem i would say try sikuli ..it just a simple you can say a compiler and a language which uses image recognition and you can make autobot through this and a very easy to learn ..

Integrate Text Editor With IPad App - Objective C

I have an app for a text editor developed by OMNI Group. I need to integrate this text editor with one of my other apps. I have no idea as to how should I do it. Can someone provide me any directions as to how should I begin with it. I googled a lot but could not find much help. Thanks and regards.
1: Assuming that your text editor is an online editor living in a browser, simply implement a UIWebView and it should just work. For example, an editable <textarea> is rendered without problems in a UIWebView.
If you need other special features you have implemented with javascript and the like you need to test if they work in the UIWebView.
2: If, however, the text editor is already working in another iOS app, simply copy the classes that you are using to implement the editor into your new project and use them in an equivalent way, tweaking where necessary. If you followed the programming principle of incapsulation this should be a breeze.

Using Modal Dialogs in Internet Explorer with Powershell

I am new to powershell and have figured out how to use it to create and navigate with an Internet Explorer Application Object. I am also capable of manipulating inputs and clicking buttons, but I have run into an issue with manipulating modal dialogs that come up on websites (like an error message or a file download confirmation) Is there any way to do this?
I found something from MSDN that discusses this here. Instead of using powershell, it was the same deal, but using a C# class to run the automation.