UFT is not recognizing web objects for web based application developed using sharepoint 2013 - angularjs

When I tried using object spy but for links,webList etc for all the objects it is recognizing all of them as webElement. I have tried by adding .dot addin, I think I am missing something other than this.
This application is developed using Sharepoint 2013 and UI part is totally developed using angular js.
Please help me regarding this.

If they are recognized as WebElement, you can handle them as webelements. You can write a function to dynamically recognize your element, and use appropriate method (Set, Select...etc).
Screenshots or object details might help here.

Related

Related to umbraco forms

how to create plugin same as umbracoforms with same functionality?
-If we add custom Fields from database in to umbraco backend custom section and it will reflect in to frontend same as umbraco forms can anybody guide me related to this ?
if you want to replicate something like that, I'll suggest you to start based on a already made code base.
Take a look at this project for AngularJS: forms generator AngularJS

AngularJS: Is it possible for me to use the codemirror along with AngularJS

I have a requirement where I have to let the user write some code from my application. I wanted to use Code Mirror library (https://codemirror.net/). My application is developed using AngularJS as the main framework with NO JQuery or any other libraries.
Is it possible for me to use the Code Mirror along with the AngularJS? If yes, can someone show light on how to do it?
Thanking you

Integrating noflo and AngularJS using the-graph

I'm working to integrate noflo into AngularJS. For some reason, I've only been able to find an old answer that seemed to direct users wanting to do this to "the-graph", but wasn't super-clear: github.com/noflo/noflo/issues/286.
I am working to attempt to integrate into AngularJS; if anyone has a working example of doing this, a plukr or fiddle would be appreciated.
Secondly, the "left-click" option that allows editing node properties doesn't appear functional in the-graph example. It seems to work here, but not here. I was wondering how to get the search/properties edit box for each node to function when including inside an existing UI.
So, in sum,
How can I get the "left-click" node properties to show up in a custom UI?
How can I best integrate noflo into AngularJS? The-graph has a ton of other libraries that appear to need to be added (React, Polymer, HammerJS, KlayJS, KlayJS-NoFlo, etc..)
Thanks for any help!
It is not clear what you hope to achieve. Do you want to:
Program webapps using NoFlo and AngularJS?
Make an app (using AngularJS) with a node-editor like the one used in NoFlo UI (the-graph)?
Or something else?

I need to implement Asp.net Web API 2 and consume it by Sencha Ext JS

I want to implement a web-based API (using ASP.NET Web API 2) and consume it by the client Side library (Sencha Ext JS).
My application should include
A simple user registration form.
A login page for admin.
CRUD operations for users' submissions.
Notes:
I do not want to include any backend code (i.e C#) in the we application, I want to implement it using the HTML/Javascript only, that is Ext JS.
I want the Web API to be RESTful.
I want to protect admin pages.
I want to use the SQL Server to store users' submissions.
All of that requirements should be implemented using the ASP.net Web API 2 and Ext JS only.
So far, I did initial search and I got a lot of learning for either the ASP.net API 2 or the Ext JS. But I couldn't have a guide that help me to fulfill the above requirements or help me to have both technologies work together.
Pleas help me on either way.
Or generally, can you help me get started work in combining both: Asp.net Web API 2 and any client side that consumes it, such as Sencha Ext JS or any other client side. It is not necessarily to be Ext JS.
Thank you so much.
Thanks to StackOverflow.com
If it were me, I'd use the DirectAPI for asp.net https://github.com/elishnevsky/ext-direct-mvc
You create webapi controllers, just like you normally would. The only difference is the the controllers that need to be used by EXT should inherit from DirectController.
If you follow the directions on that page, you'll end up with a globally available proxy object that matches the name of the controller and the public methods hanging off of the controller become methods of that object.
That is, server side controller MyAwesomeController with method DoSomething() becomes MyAwesome.DoSomething.
If you attribute the method as [NamedArguements] you can create methods such as
DoSomething(int id, int foo)
and pass from javascript as DoSomething({id: 20, foo: 30});
Since it is still just a controller, you can attribute permissions and return json as you would in any other situation.
If you get stuck, use the debugger and spend the time to figure out what's really going on. This all works in 4.x and I've tried it in 5.x and it still works there as well. But I wouldn't jump into 5.x just yet as there are still several bugs that need to be worked out by the sencha team before it is ready for prime time.
ExtJs has a REST proxy for the data. So what you try to do should be possible. The proxy can be configured and be finetuned.
I used the JSON proxy. ExtJs has very powerful filter and sort capabilities, both server and client side. In my experience difficulties arose when filtering and sorting server side. There is only sparse documentation on how the parameters are passed and which configurations have what effects.
Since you also develop the REST api, you can adapt to those details. You just have to do some research.
Here is not the place to ask about guides. For Asp I cannot help you, I never touched it. If you use ExtJs, you are free to choose you backend. For ExtJs, the start is pretty straight forward :
get Sencha cmd and generate a skeleton app.
follow the tutorial
create one file per class definition.
the API docs are great. If you still lack something SO is great too.
what you have to find out by yourself is the exact way parameters are passed to the backend and how to format the response.

integrating Ux.locale.Manager extension into MVC application using Castle MonoRail

I am trying to integrate the Ux.locale.Manager (https://github.com/mitchellsimoens/Ux.locale.Manager) extension into our MVC application which uses Castle MonoRail.
I am experiencing difficulties in trying to get the extension to work.
Is this because Ext JS/Sencha MVC is incompatible with MonoRail MVC? I need to know this for if that is the case then I will need to find another method to localize/internationalize our application (which uses Ext JS for forms, grids, etc.).
Thanks in advance for an answer.
I was finally able to integrate the extension succesfully into my (Castle Monorail) MVC application. One needs to make the tpl value in ajaxConfig refer to a method in a controller that returns the json locale values instead of making it refer to the json locale files. I did not have to alter any code in the Manager.js file.

Resources