Search found 25 matches

by paracelsus
Mon Mar 16, 2009 12:19 pm
Forum: Automation Tools
Topic: AdoDB
Replies: 3
Views: 3038

ranorex support

I understand it, but I know to do this connection with QTP without problem. I dont understand that why it is wrong in the Ranorex. This is the reason, that I wrote my question in the Ranorex forum.
by paracelsus
Mon Mar 16, 2009 10:15 am
Forum: Automation Tools
Topic: connect to sql server
Replies: 1
Views: 3724

connect to sql server

I tried an other code: Dim connetionString As String = "Data Source=ServerName;Initial Catalog=posta;" Dim connection As SqlConnection = New SqlConnection(connetionString) Dim command As SqlCommand Dim adapter As New SqlDataAdapter Dim ds As New DataSet Dim i As Integer Dim sql As String connection....
by paracelsus
Mon Mar 16, 2009 9:32 am
Forum: Automation Tools
Topic: AdoDB
Replies: 3
Views: 3038

AdoDB

Hello! How can I connect to a database and write data in a table? I try to use the following code: Public Sub connectDatabase() Set cnWorkShop = New ADODB.Connection With cnWorkShop .Provider = "Microsoft.JET.OLEDB.4.0" .ConnectionString = "Data Source=ServerName;Initial Catalog=posta;" .Open End Wi...
by paracelsus
Fri Mar 13, 2009 2:08 pm
Forum: Automation Tools
Topic: excel form test
Replies: 7
Views: 3976

excel form test

I try to modify the first test, witch run correct, but when I try to track the ListBox Elements, after watch the repository, I dont find these in the repository. So I dont know to refer to these elements in the recording1.vb
by paracelsus
Fri Mar 13, 2009 1:09 pm
Forum: Automation Tools
Topic: excel form test
Replies: 7
Views: 3976

excel test with office 2003

I tried to record and run a test within Office Excel 2003. The first recorded test ran correctly but the others gave the same proplem. Application and dialog 'FormMocrosoft_Excel' was not found within the specified timeout of 3000ms. What's the problem? I dont understand. The main problem is with th...
by paracelsus
Thu Mar 12, 2009 2:57 pm
Forum: Automation Tools
Topic: excel form test
Replies: 7
Views: 3976

excel test

Ranorex dont find the element. I think the problem is that this element is a listbox and ranorex open it, but dont know to choose elements.
by paracelsus
Thu Mar 12, 2009 1:39 pm
Forum: Automation Tools
Topic: excel form test
Replies: 7
Views: 3976

repository

In my Repository:

Public Overridable ReadOnly Property FormEXCEL As excel_testRepositoryFolders.FormEXCELAppFolder
Get
Return _formexcel
End Get
End Property
by paracelsus
Thu Mar 12, 2009 1:00 pm
Forum: Automation Tools
Topic: excel form test
Replies: 7
Views: 3976

excel test

I have tried to spy but it get the same error again.
by paracelsus
Thu Mar 12, 2009 9:59 am
Forum: Automation Tools
Topic: excel form test
Replies: 7
Views: 3976

excel form test

Please answer me, because depend on this that we will buy the Ranorex!
by paracelsus
Thu Mar 12, 2009 9:42 am
Forum: Automation Tools
Topic: excel form test
Replies: 7
Views: 3976

excel form test

Hello, again! I'd like to test an excel form which calculate a price. But after the recordind, I try to run this, and get the followning error message: Ranorex.ElementNotFoundException: Failed to find item 'FormEXCEL' within the specified timeout of 5000ms. ---> Ranorex.ElementNotFoundException: The...
by paracelsus
Wed Mar 11, 2009 2:19 pm
Forum: Automation Tools
Topic: compare
Replies: 5
Views: 3145

compare

I have made it, yet. I split the string witch is in the variables and after this I compare the two variables. Thx for your help. I write for you my code: Dim words As String() = ertek.Split(New Char() {" "c}) Dim word As String = words(0) + words(1) report.Info("Vizsgalat", word & "") report.Info("V...
by paracelsus
Wed Mar 11, 2009 11:27 am
Forum: Automation Tools
Topic: compare
Replies: 5
Views: 3145

compare

I tried an other code:

Code: Select all

If String.Compare(ertek,ar)=-1 or String.Compare(ertek,ar)=1
report.Error("VIZSGALAT","A két érték nem egyező")
Else If String.Compare(ertek, ar)=0
report.Info("VIZSGALAT","A két érték megegyező")
End If
But It's wrong too :(
by paracelsus
Tue Mar 10, 2009 4:19 pm
Forum: Automation Tools
Topic: compare
Replies: 5
Views: 3145

code

This is my code

Code: Select all

Dim ar As String =m_node.ChildNodes.Item(5).InnerText
...
...
Dim ar2 As String
			ar2=spanTagCtl00_MPBISSContent_lblO.InnerText
			
If ar2 like ar
        report.Info("VIZSGALAT","AZ ÉRTÉKEK MEGEGYEZŐEK")
Else
	report.Error("VIZSGALAT","AZ ÉRTÉKEK KÜLÖNBÖZŐEK")
End If
by paracelsus
Tue Mar 10, 2009 2:17 pm
Forum: Automation Tools
Topic: compare
Replies: 5
Views: 3145

compare

Hi! I have a new question! :D I made a test, and I'd like to compare to string. One of them is in an external xml file and the other generated at the end of the test. I tried to make a VB.NET code with if condition but it was wrong. Somebody know to help me?
by paracelsus
Mon Mar 09, 2009 4:08 pm
Forum: Automation Tools
Topic: radio button
Replies: 3
Views: 4608

how

Thx for your reply. But I dont know that how can it use. Can you help me? I need to use this in the following code: repo.WebDocumentPosta_Biztosito.DivTagDivCalculateData.InputTagCtl00DollarMPBISSContent.Click Delay.Milliseconds(940) report.Info("REPLAY","repo.WebDocumentPosta_Biztosito.DivTagDivCal...